First lets determine the time