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 | January 6th, 2009, 9:11 pm | Basic date and time |
| m.d.y | 01.06.09 | Simple month.day.year with leading zeros |
| l, F jS G:i:s | Tuesday, January 6th 21:11:39 | Day, date, and 24-hour (military) time |
| D M j | Tue Jan 6 | Short versions of day and month |
| n/j g:i A | 1/6 9:11 PM | Date without leading zeros and AM/PM in uppercase |
| Y: \D\a\y #z | 2009: Day #5 | Day of the year (0-365) |