Created
January 30, 2019 12:22
-
-
Save kylekatarnls/688692934f06193746bfe4612a5be120 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 | |
$date = new DateTimeImmutable($_POST['date']); | |
echo $date->format('Y-m-d H:i:s.u'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment