Returns the number of seconds since the start of the 1/1/1970. It's a standard way to write a date and time. See . Syntax:

put seconds()


put the seconds -- might return 961694002
put the long seconds -- might return 961694002.834503

Use the seconds function to time events.

The seconds function returns the total number of seconds since midnight, January 1, 1970 GMT. (called also unix time or epoch time)

The long seconds form returns a value with a precision to a millionth of a second. However, this value is not normally accurate past the third decimal place because of processor delays.

This function is useful for time or date calculations.

See also: milliseconds (function), Date, time, DateFormat, TimeScale