MATLAB Function Reference
  Go to function:
    Search    Help Desk 
now    Examples   See Also

Current date and time

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

clock       Current time as a date vector

date        Current date string

datenum     Serial date number



[ Previous | Help Desk | Next ]