| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Converts a DateTime value to a character string in SET DATE and SET TIME format.
TtoC( <dDateTime> ) --> cDateTimeString
The return value is a character string formatted in the current SET DATE and SET TIME format.
The function converts a DateTime value to a character string. The string is formatted according to the current SET DATE and SET TIME format.
Important: use TtoC() and its counterpart CtoT() with extreme care. The result of both functions depends on the current SET DATE, SET EPOCH and SET TIME settings.
| See also: | DateTime(), DtoC(), SET CENTURY, SET DATE, SET EPOCH, SET TIME, StoT(), TtoC(), TtoS() |
| Category: | Conversion functions , Date and time , xHarbour extensions |
| Source: | rtl\dateshb.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com