DT_GetCurrentTime returns the current date/time as a real number.
Return Value
r is a real number representing the current date/time.
Example
* r = DT_GetCurrentTime()
* r
35991.6003
* DT_Format(DT_GetCurrentTime(), "%c")
15.07.98 14:24:34
* DT_Format(DT_GetCurrentTime(), "%x")
15.07.98
* DT_Format(DT_GetCurrentTime(), "%X")
14:24:38
* DT_Format(r, "Today is %A, day %d of %B in the year %Y.")
Today is Mittwoch, day 15 of Juli in the year 1998.
See also
Overview Date and Time, DT_Format, DT_GetDay, DT_GetDayOfWeek, DT_GetDayOfYear, DT_GetHour, DT_GetMinute, DT_GetMonth, DT_GetSecond, DT_GetYear, DT_ParseDateTime, DT_SetDate, DT_SetDateTime, DT_SetLocale, DT_SetTime
id-255139