Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the format pattern for a short time value.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetShortTimePattern ( _
hoursMode24 As Boolean _
) As String
'Usage
Dim instance As DateOptions
Dim hoursMode24 As Boolean
Dim returnValue As String
returnValue = instance.GetShortTimePattern(hoursMode24)
public string GetShortTimePattern(
bool hoursMode24
)
Parameters
hoursMode24
Type: System.Booleantrue to indicate that the time is displayed using a 24-hour clock; otherwise, false.
Return value
Type: System.String
The format pattern for a short time value.
Remarks
The format pattern for a short time value is “h:mm”.