date_time.php example php source code print date("m/d/y G:i:s", time()); echo " \n"; print date("m/d/y", time()); echo " \n"; print date("G:i:s", time()); echo " \n"; print "Today is "; print date("j F Y", time()); echo " \n"; echo "time is ".date("g:i a", time())."
\n"; echo "finished date_time.php
\n"; 11/01/24 3:18:43 11/01/24 3:18:43 Today is 1 November 2024 time is 3:18 am
finished date_time.php