Created
November 3, 2015 15:52
-
-
Save mikejolley/7ac8787020e40f449dd3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
var_dump( current_time( 'timestamp' ) ); | |
var_dump( strtotime( '-6 days', current_time( 'timestamp' ) ) ); | |
var_dump( strtotime( 'midnight', current_time( 'timestamp' ) ) ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment