Formats the time using the specified TimeFormat, i.e. 14:30 or 2:30 PM.

Namespace: DayPilot.Web.Mvc.Utils
Assembly: DayPilot.Web.Mvc (in DayPilot.Web.Mvc.dll) Version: 8.0.5796.0 (8.0.5796.0)

Syntax

C#
public static string GetHourMinutes(
	DateTime date,
	TimeFormat clock
)
Visual Basic
Public Shared Function GetHourMinutes ( _
	date As DateTime, _
	clock As TimeFormat _
) As String
Visual C++
public:
static String^ GetHourMinutes(
	DateTime date, 
	TimeFormat clock
)

Return Value

See Also