Last active
December 12, 2019 13:38
-
-
Save thexdev/745dd291887672bb1dd42a1485f812b3 to your computer and use it in GitHub Desktop.
PHP date function syntax to fill the value in mysql datetime column.
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 | |
$now = date("Y-m-d H:i:s"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment