Skip to content

Date and Time Operations

Built-in functions › Programming and data types › Date and Time Operations

8 functions in this category.

FunctionWhat it does
addtodateAdd a quantity to a date.
clockCurrent date and time as a 6-element vector.
dateConstruct a date serial number from year, month, day.
datestrFormat a date as a string.
datevecConvert a date to a 6-element date vector.
nowCurrent date and time as a serial date-time number.
ticStart a timer.
tocRead the elapsed time from a tic.