PHP strftime on Windows is stupid
Thursday 01/8/2009 – Category: Uncategorized
Apparently %e, %T, %R and %D (there might be more) don't work on Windows because "not all conversion specifiers may be supported by your C library".
Workaround: You can add the # flag to force single digits and remove the leading zero without the space that %e will add.
Examples:
%#d for day of the month
%#I for the 12-hour clock hour
Leave a Reply
Recent Posts
- Marble Paint
(Friday 02/4/2011 – 1 Comment) - More Flickr Original Updates
(Sunday 01/23/2011 – 13 Comments) - Flickr Original updates
(Saturday 08/7/2010 – 19 Comments) - LED Light for iPhone 4
(Monday 06/28/2010 – 65 Comments)
