Table of Contents

Method GetHoursAsString

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetHoursAsString(bool)

Gets hours as a string for the current value selected in TimePicker.

protected virtual string GetHoursAsString(bool is12HourFormat)

Parameters

is12HourFormat bool

The is12HourFormat determines whether to return the hours in 12-hour format.

Returns

string

The formatted string representing the hours.