youtube:
https://www.youtube.com/watch?v=rCsAqa1N0kc&list=PLu0W_9lII9aikXkRE0WxDt1vozo3hnmtR&index=17
Blogspot:
https://www.codewithharry.com/videos/php-tutorials-in-hindi-17/
<?php
echo "Welcome to the world of dates<br>";
// $d = date("dS F Y");
$d = date("dS F Y, g:i A");
echo "Todays date is $d <br>";
// Quick Quiz - Post at least 3 examples of dates in php in the comments below
// Prints something like: Monday 8th of August 2005 03:12:46 PM
echo date('l jS \of F Y h:i:s A');
$year = date("Y");
echo "<br>";
echo "Copyright $year | All rights reserved <br>";
?>
No comments:
Post a Comment