jhm/timestamp: Move functions to cc