RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXSTime.UseZeroMilliseconds Property

Indicates whether the string representation of this object's value includes a portion for fractions of a second when the value of Millisecond and FractionalSeconds is zero.

Pascal
property UseZeroMilliseconds: Boolean;
C++
__property Boolean UseZeroMilliseconds;

By default, the NativeToXS method does not include the fractional portion of a second in the string encoding of this object's value when the value represents an exact number of seconds. If you set UseZeroMilliseconds, NativeToXS changes its encoding to include milliseconds even when the value is zero. This is necessary for some Web Services that do not support the full time schema defined by W3C. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!