Share via


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)

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.

See also

Reference

DateOptions class

DateOptions members

Microsoft.SharePoint.Utilities namespace