Implement from_timestamp