change timestamp to milliseconds since epoch