Created
January 28, 2019 14:25
-
-
Save kylekatarnls/b27e78eb30b59ae5989a9e694c2a8419 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 | |
$utcString = '2018-05-12 23:16:46.123456'; | |
$date = new CarbonImmutable($utcString); | |
echo $date->tz($timezone)->locale($lang)->calendar(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment