Current date and time as serial date number
t = now returns the current
date and time as a serial date number. A serial date number represents
the whole and fractional number of days from a fixed, preset date
(January 0, 0000).
floor(now) returns the current date as a
serial date number, and rem(now,1) returns the
current time as a serial date number. datestr(now) returns
the current date and time as a string.
t1 = now, t2 = rem(now,1)
clock | date | datenum | datestr
Was this topic helpful?