xHarbour Reference Documentation > Function Reference |
Returns the current date and time from the operating system.
DateTime() --> dDateTime
The function returns the operating system's date and time setting as a DateTime value.
The DateTime() function retrieves the current system date and time as reported by the system clock. The returned value is of Valtype() == "D". Use function HB_IsDateTime() to ditinguish a regular Date() value from a DateTime() value.
The display of DateTime values depends on the SET DATE format.
Note: refer to the DateTime operator {ˆ } for a detailed explanation of DateTime values.
See also: | {ˆ }, CtoT(), Date(), SET CENTURY, SET DATE, SET EPOCH, StoT(), Time(), TtoC(), TtoS() |
Category: | Conversion functions , Date and time , xHarbour extensions |
Source: | rtl\dateshb.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com