Added time related function to sdk.