timestamp
Returns the current time or a given point in time as a real number.
Syntax
-
timestamp()
-
timestamp(t)
-
t
is a date, time, or datetime value or a timestamp
-
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)