Formats a time of day for display.

Namespace: Mindscape.SilverlightElements
Assembly: Mindscape.SilverlightElements (in Mindscape.SilverlightElements.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
protected static string FormatTimeOfDay(
	DateTime timeToConvert,
	CultureInfo culture
)
Visual Basic
Protected Shared Function FormatTimeOfDay ( _
	timeToConvert As DateTime, _
	culture As CultureInfo _
) As String
Visual C++
protected:
static String^ FormatTimeOfDay(
	DateTime timeToConvert, 
	CultureInfo^ culture
)

Parameters

timeToConvert
Type: System..::..DateTime
The time to be displayed.
culture
Type: System.Globalization..::..CultureInfo
The culture to use in formatting.

Return Value

A string representing the time of day part of the timeToConvert.

See Also