today
Return the serial date number for the current day.
📝Syntax
t = today()
📥Input Arguments
Parameter Description
inputs No input arguments.
📤Output Arguments
Parameter Description
output A scalar serial date number with no time-of-day fraction.
📄Description

Return the serial date number for the current day.

today is equivalent to floor(now()) at the time of the call.

Array-valued inputs keep their data shape when the operation supports arrays. Scalar operands are expanded where the implementation defines scalar expansion.

💡Examples
Basic usage.
t = today()
t == floor(t)
🔗See Also
datetimeduration
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub