Created
June 28, 2010 19:54
-
-
Save gavinblair/456272 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 | |
// In order to put <sup></sup> tags in the format string, | |
// you have to escape all letters that are in | |
// http://php.net/manual/en/function.date.php | |
echo date('F j<\s\up>S</\s\up> Y', $timestamp); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment