Update timestamp conversions to support milliseconds.