Formats an hour number for 12/24 hours clock.

Namespace:  DayPilot.Utils
Assembly:  DayPilot (in DayPilot.dll) Version: 5.8.1956.0 (5.8.1956.0)

Syntax

C#
public static string GetHour(
	int hour,
	TimeFormat clock,
	string format
)
Visual Basic (Declaration)
Public Shared Function GetHour ( _
	hour As Integer, _
	clock As TimeFormat, _
	format As String _
) As String
Visual C++
public:
static String^ GetHour(
	int hour, 
	TimeFormat clock, 
	String^ format
)

Parameters

hour
Type: System..::.Int32
clock
Type: DayPilot.Web.Ui.Enums..::.TimeFormat
format
Type: System..::.String

Return Value

See Also