Method GetHoursAsString
GetHoursAsString(bool)
Gets hours as a string for the current value selected in TimePicker.
protected virtual string GetHoursAsString(bool is12HourFormat)
Parameters
is12HourFormatboolThe
is12HourFormatdetermines whether to return the hours in 12-hour format.
Returns
- string
The formatted string representing the hours.