RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXSCustomDateTime.UseZeroMilliseconds Property

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

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

By default, the NativeToXS method does not include the milliseconds in the string encoding of this object's value when the value of the Millisecond property is zero. If you set UseZeroMilliseconds, NativeToXS changes its encoding to include the milliseconds even when the value is zero. This is necessary for some Web Services that do not support the full schema defined by W3C. 

 

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