Time api (21/28)

Time api