Soap.XSBuiltIns.DateTimeToXMLTime
Delphi
function DateTimeToXMLTime(Value: TDateTime; ApplyLocalBias: Boolean = True): InvString;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall DateTimeToXMLTime(System::TDateTime Value, bool ApplyLocalBias = true);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Soap.XSBuiltIns.pas Soap.XSBuiltIns.hpp |
Soap.XSBuiltIns | Soap.XSBuiltIns |
Description
Returns the XML string that represents a TDateTime value.
DateTimeToXMLTime returns the XML representation of a specified TDateTime value.
Value is the TDateTime value to convert. If the time zone information is important, this value is assumed to be given in Coordinated Universal Time (UTC).
CalcLocalBias indicates whether the XML string should include offsets for converting Value to the local time.