Formats an hour number for 12/24 hours clock.
Namespace: DayPilot.Web.Mvc.UtilsAssembly: DayPilot.Web.Mvc (in DayPilot.Web.Mvc.dll) Version: 8.0.5796.0 (8.0.5796.0)
Syntax
C# |
---|
public static string GetHour( int hour, TimeFormat clock, string format ) |
Visual Basic |
---|
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.Mvc.Enums..::..TimeFormat
- format
- Type: System..::..String