now

Return current date and time

Calling Sequence

t = now()

Description

t = now() returns date and time as a serial date number. (See datenum)

Examples

`realtimeinit`_(1);
`realtime`_(0);
t1 = now()
`datevec`_(t1)
`realtime`_(10);
t1 = now()
`datevec`_(t1)

See Also

  • clock Return current time as date vector
  • datenum Convert to serial date number
  • datevec Date components

Table Of Contents

This Page