Initializing help system before first use

timestamp

timestamp


Purpose
Generate a timestamp by combining the current UTC date and time.
Synopsis
function timestamp:real
Return value
The number of seconds since 1/1/1970 at midnight as a real.
Further information
1. This function corresponds to the expression (using UTC time): real(currentdate)*86400+currenttime/1000
2. A local time timestamp may be obtained using: getasnumber(datetime(SYS_NOW))
3. Refer to the module mmsystem for a set of dedicated types for handling date and time.
Related topics