Endpoints: timed position apis, Added new utility functions for time