Created
September 23, 2014 23:39
-
-
Save phpfiddle/dc6454d36973bfa5f073 to your computer and use it in GitHub Desktop.
[ Posted by Christie Mealo ] php practice 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo date("l F jS, Y - g:ia", time()); // current date | |
echo("</br>"); | |
echo date("m / d / Y", time()); // current date | |
echo("</br>"); | |
$nextweek= time() + 7*24*60*60; | |
echo gmdate("Y-m-d\TH:i:s\Z", $nextweek); // next week | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment