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, date, datenum



[ Previous | Help Desk | Next ]