Formats a time of day for display.

Namespace:  Mindscape.WpfElements
Assembly:  Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
protected string FormatTimeOfDay(
	DateTime timeToConvert,
	CultureInfo culture
)
Visual Basic (Declaration)
Protected Function FormatTimeOfDay ( _
	timeToConvert As DateTime, _
	culture As CultureInfo _
) As String

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