MATLAB Function Reference |
Syntax
Description
t = now
returns the current date and time as a serial date number. To return the time only, use rem(now,1)
. To return the date only, use floor(now)
.
Examples
See Also
notebook | nthroot |
© 1994-2005 The MathWorks, Inc.