Indy 9
DateTimeToInternetStr
See Also, Unit: IdGlobal
Converts a native date time value to an Internet timestamp.
function DateTimeToInternetStr(const Value: TDateTime; const AIsGMT: Boolean = False): String;
Unit
IdGlobal
Parameters
const Value: TDateTime
The date/time value to be converted.
Return Value
String - Representation of Value as an Internet timestamp.
Description
DateTimeToInternetStr is a String function used to convert the native date/time value in Value to a string representing an Internet timestamp.

To convert a value from an Internet Time stamp to a TDateTime, use the StrInternetToDateTime function.


Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.