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 long time value.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetLongTimePattern ( _
hoursMode24 As Boolean _
) As String
'Usage
Dim instance As DateOptions
Dim hoursMode24 As Boolean
Dim returnValue As String
returnValue = instance.GetLongTimePattern(hoursMode24)
public string GetLongTimePattern(
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 long time value.
Remarks
The format pattern for a long time value is “h:mm:ss”.