clock: more functions; to_datetime: tz as a parameter