Since MST is GMT-0700, the reference time can be thought of as 01/02 03:04:05PM '06 -0700
Such sadness. Using a reversed month/year date as a "reference" when we have ISO 8601. Much american-centrism.
Otherwise I like the trick, but I'm not sure it scales to locale-specific time formats (whereas strftime does a bit with %aAbBxX).
Mon Jan 2 15:04:05 MST 2006
Since MST is GMT-0700, the reference time can be thought of as 01/02 03:04:05PM '06 -0700
Such sadness. Using a reversed month/year date as a "reference" when we have ISO 8601. Much american-centrism.
Otherwise I like the trick, but I'm not sure it scales to locale-specific time formats (whereas strftime does a bit with %aAbBxX).