TcxSchedulerDateTimeHelper.HourToStr(TDateTime) Method
Returns a string representation of the ATime time without the AM or PM suffix, if the 12-hour format is applied.
Declaration
class function HourToStr(const ATime: TDateTime): string; virtual;
Parameters
Name | Type |
---|---|
ATime | TDateTime |
Returns
Type |
---|
string |
Remarks
The returned result is the time string containing hours and minutes without the AM or PM suffix (except for the ATime‘s value of 12), if the 12-hour format is applied.
The ATime parameter specifies the time to be returned in the string.
Note
whether the string returned is in the 12-hour or 24-hour format depends upon the host environment’s settings.
See Also