Algosim documentation: timestamp

timestamp

Returns the current time or a given point in time as a real number.

Syntax

Description

timestamp() returns the current time as a real number timestamp. This is the fractional number of days since midnight on 30 December 1899.

timestamp(t) returns t as a real number timestamp.

Examples

timestamp()
44081.6597841
timestamp(tomorrow())
44082
timestamp() = timestamp(now())
true
timestamp(time())
0.665046388889	(=2394167/3600000)

See also