Formats a time of day for display.
Namespace:
Mindscape.WpfElementsAssembly: 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.