Internet Direct (Indy) Version 9.0.1 Beta
|
function DateTimeToGmtOffSetStr(ADateTime: TDateTime; SubGMT: Boolean): string;
ADateTime is the native Date/Time value to be converted.
SubGMT indicates that the return value should contain the prefix "GMT" prior to the time difference string. When SubGMT is True, the prefix is added to the time difference string, otherwise the prefix is omitted.
To convert an Internet GMT different to a TDateTime, use the GmtOffsetStrToDateTime function.