RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXSTime.Hour Property

Indicates the hour of the day that the object represents.

Pascal
property Hour: Word;
C++
__property Word Hour;

Use Hour to get or set the hour portion of the time value. Valid Hour values are 0 through 23.

Note: Hour represents the hour using Coordinated Universal Time (UTC). To convert the hour to local time, you must add the value of the HourOffset property.
 

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