time_decode( timestamp )

Break a timestamp down into year, month, day, hours, minutes, seconds, milliseconds. The milliseconds value is accurate for timestamps in the years 1900 through 2100, but can be off by 1 millisecond for timestamps outside of that range due to rounding issues.

Example

year, month, day, hour, min, sec, ms = time_decode(ts)