096 DateToday is (d) = 19
Today is (j) = 19
Today is (jS) = 19th
Month is (F) = March
Month is (m) = 03
Month is (n) = 3
Month is (M) = Mar
Year is (Y) = 2026
Year is (y) = 26
Full Date is (d) = 19/03/2026
Full Date is (Y-m-d) = 2026-03-19
Full Date is (Y-M-d) = 2026-Mar-19
Week Day is (D) = Thu
Week Day is (l) = Thursday
Week Day is (N) = 4
Week Day is (w) = 4
Day is (z) = 77
Week of the year (W) = 12
Days of the Month (t) = 31
Is this is Leap year (L) = 0
<?php
// 096 Date
echo "</br><span class='myheading'>096 Date</span></br>";
/*----Date Functions------- */
echo "Today is (d) = " . date("d"). "<br>"; // return date in 01 format
echo "Today is (j) = " . date("j"). "<br>"; // above in 1 format
echo "Today is (jS) = " . date("jS"). "<br>";// with suffix
echo "Month is (F) = " . date("F"). "<br>"; // month full name format
echo "Month is (m) = " . date("m"). "<br>"; // month in 10 format
echo "Month is (n) = " . date("n"). "<br>"; //
echo "Month is (M) = " . date("M"). "<br>"; //
echo "Year is (Y) = " . date("Y"). "<br>"; //
echo "Year is (y) = " . date("y"). "<br>"; //
echo "Full Date is (d) = " . date("d/m/Y"). "<br>";
echo "Full Date is (Y-m-d) = " . date("Y-m-d"). "<br>";
echo "Full Date is (Y-M-d) = " . date("Y-M-d"). "<br>";
echo "Week Day is (D) = " . date("D"). "<br>";
echo "Week Day is (l) = " . date("l"). "<br>";
echo "Week Day is (N) = " . date("N"). "<br>";
echo "Week Day is (w) = " . date("w"). "<br>";
echo "Day is (z) = " . date("z"). "<br>";
echo "Week of the year (W) = " . date("W"). "<br>";
echo "Days of the Month (t) = " . date("t"). "<br>";
echo "Is this is Leap year (L) = " . date("L"). "<br>";
?>