RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
XSBuiltIns.DateTimeToXMLTime Function

Returns the XML string that represents a TDateTime value.

Pascal
function DateTimeToXMLTime(Value: TDateTime; ApplyLocalBias: Boolean = True): WideString;
C++
BSTR DateTimeToXMLTime(TDateTime Value, Boolean ApplyLocalBias = True);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!