DateOptions.DateTimeFormat Property
Gets the current DateTimeFormat derived from the regional settings and the calendar.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property DateTimeFormat As DateTimeFormatInfo
Get
'Usage
Dim instance As DateOptions
Dim value As DateTimeFormatInfo
value = instance.DateTimeFormat
public DateTimeFormatInfo DateTimeFormat { get; }
Property Value
Type: System.Globalization.DateTimeFormatInfo
An object that contains the date and time format information.