Time api (22/28)

Time api