Date and Time Operations
Built-in functions › Programming and data types › Date and Time Operations
8 functions in this category.
| Function | What it does |
|---|---|
addtodate | Add a quantity to a date. |
clock | Current date and time as a 6-element vector. |
date | Construct a date serial number from year, month, day. |
datestr | Format a date as a string. |
datevec | Convert a date to a 6-element date vector. |
now | Current date and time as a serial date-time number. |
tic | Start a timer. |
toc | Read the elapsed time from a tic. |