11.Write a PHP script to show the functionality of date and time function.
< ?php
echo "Today is " . date("Y/m/d") . "
";
echo "Today is " . date("Y.m.d") . "
";
echo "Today is " . date("Y-m-d") . "
";
echo "Today is " . date("l");
$d=mktime(11, 14, 54, 8, 12, 2014);
echo "Created date is " . date("Y-m-d h:i:sa", $d). "
";
$d=strtotime("tomorrow");
echo date("Y-m-d h:i:sa", $d) . "
";
$d=strtotime("next Saturday");
echo date("Y-m-d h:i:sa", $d) . "
";
$d=strtotime("+3 Months");
echo date("Y-m-d h:i:sa", $d) . "
";
?>