Created
May 16, 2019 02:26
-
-
Save gbrits/a95f8bf21f82393e14885e25901aff68 to your computer and use it in GitHub Desktop.
PHP Date with Superscript Ordinal Suffix
This file contains 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 | |
echo date('j<\s\up>S</\s\up> M \'y'); // >= PHP 5.2.2 - 16th Feb '19 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment