note 68461 deleted from function.strftime by danbrown
| From: | danbrown@php.net | Date: | Wed, 04 Feb 2009 01:19:41 +0000 |
| Subject: | note 68461 deleted from function.strftime by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-150185@lists.php.net to get a copy of this message | ||
Note Submitter: reeveboy at hotmail dot com
----
To mcallister, phloe and anyone else who want to get on the getDaySuffix() band wagon:
There are already functions to do this. All you really have to do is:
<?php echo date("jS", mktime(0,0,0,1,$myDay,2006)); ?>
Obviously, the only part of mktime that really matters is $myDay.