XbZ_DateTime2FatTimeDate()
|
Previous Top Next |
XbZ_DateTime2FatTimeDate(<dDate>,
|
<cTime>) --> cFAT_TimeDate
|
<dDate>
|
<dDate> contains a valid Xbase++ Date value, that should not be empty.
|
<cTime>
|
<cTime> contains a valid Xbase++ Time string value in the format "HH:MM:SS" that should not be empty.
|
This functions returns a FAT_Time_Date string value, that is based on the supplied <dDate> and <cTime> values.
|
This functions converts the supplied <dDate> and <cTime> values to a FAT_Time_Date string value, as it is used in the (Windows) FAT (File Access Table) File System. This function is the reverse of the XbZ_FatTimeDate2DateTime() function.
|
cFDT := XbZ_DateTime2FatTimeDate(StoD("20041129"), "12:34:56")
|
aDT := XbZ_FatTimeDate2DateTime(cFDT)
|
QOut(DtoC(aDT[1]) + ' - ' + aDT[2]) --> "11/29/2004 - 12:34:56"
|