Skip to main content

DateTime

DateTime

The DateTime function returns number of seconds from 1/1/1904 to the current local date and time.

To get the UTC date and time, subtract Date2Secs(-1,-1,-1) from the value returned by DateTime.

Unlike most Igor functions, DateTime is used without parentheses.

Examples

Variable localNow = DateTime

See Also

Secs2Date, Secs2Time, time