xHarbour Reference Documentation > Function Reference |
Converts a Date value into a 3-byte character string.
SS_DtoP( <dDate> ) --> cPackedDate
The function returns the packed Date value as a binary character string.
Function SX_DtoP() is used to compress Date values from 8 bytes to a binary character string of 3-bytes, thus reducing storage space in index or database files for Dates. Function SX_PtoD() converts a packed Date value back to its original data type.
See also: | SX_PtoD() |
Category: | Conversion functions , Date and time , Six driver |
Source: | rdd\hbsix\sxdate.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com