Created
April 19, 2022 01:10
-
-
Save twfahey1/f6db0db33484525854b2f0ec0a9ff8c0 to your computer and use it in GitHub Desktop.
Common best PHP dates formats
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 | |
/** | |
These are just reference for common PHP dates. | |
**/ | |
// 1/1/2022 12:00 PM | |
$date = date('m/d/Y h:i A'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment