This is another one of those things I made because I need it all the time and can never find it. We use unix/perl/PHP date formats for all sorts of fun stuff (my forum is one of those places), and this page wll show you how to format those numbers. For a more detailed explination, look here.
| Format | Result | Notes |
| F jS, Y, g:i a | May 16th, 2012, 10:56 pm | Basic date and time |
| m.d.y | 05.16.12 | Simple month.day.year with leading zeros |
| l, F jS G:i:s | Wednesday, May 16th 22:56:57 | Day, date, and 24-hour (military) time |
| D M j | Wed May 16 | Short versions of day and month |
| n/j g:i A | 5/16 10:56 PM | Date without leading zeros and AM/PM in uppercase |
| Y: \D\a\y #z | 2012: Day #136 | Day of the year (0-365) |