3 ms·
I find 15:04:05 on Monday Jan 2nd 2006 a lot easier to remember than all those strftime %-verbs. I certainly don't see how "%B %e, %Y" is any better than "Janua
by Beltalowda 4y ago
I find 15:04:05 on Monday Jan 2nd 2006 a lot easier to remember than all those strftime %-verbs. I certainly don't see how "%B %e, %Y" is any better than "January _2, 2006". %B for what? Bonth name? And %e for "d for day plus one so %e".
- erik_seaberg 4y ago1999-12-31T23:59:60 would make it easier to remember what the constants are.
- Beltalowda 4y agoThe way I remember it is that it counts from 1 to 7: 2006-01-02T15:04:05Z-0700 It's unfortunate that the year is 2006 and sandwiched between the minute and TZ offset, but this keeps the day at Monday (1st day of the week, for many anyway) so that's nice.