The functions in this section deal with getting the current time and sleeping for the specified time interval.