Time Commands clock Returns the current date and time. datenum Returns the day and time input as a number of days since January 1, 0000. sleep Pauses the current execution for n seconds. tic Sets an internal clock. toc Calls to toc return the elapsed time since tic was called.