Previous topic

DT_Format

Next topic

DT_GetDay

This Page

DT_GetCurrentTimeΒΆ

DT_GetCurrentTime returns the current date/time as a real number.

r = DT_GetCurrentTime()

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.

id-255139