Parse milliseconds into an object