JVCL Help:JvDateTimeToTimeTHex

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Encodes Date/Time as Hex string.

run\JvCsvData.pas


Pascal

 run\JvCsvData.pas
 functionJvDateTimeToTimeTHex(ADateTime: TDateTime; TimeZoneCorrection: Integer): string;


Parameters

Parameters Description
ADateTime: TDateTime The date time value to encode.
TimeZoneCorrection: Integer Timezone correction is zero unless you need to correct for different timezones.

run\JvCsvData.pas


Description

Converts a Delphi TDateTime value to a POSIX TIME_T Integer and then converts the Integer (32 bit) into a hexadecimal string, and then store that as the value of the CSV date field. Not very human readable, but very robust and easy to parse by computer.

run\JvCsvData.pas


See Also

JvDateTimeIsoStr

run\JvCsvData.pas


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page