Share via


DateOptions.ShortDatePattern property

Gets the format pattern for a short date value, which is associated with the "d" format character.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property ShortDatePattern As String
    Get
'Usage
Dim instance As DateOptions
Dim value As String

value = instance.ShortDatePattern
public string ShortDatePattern { get; }

Property value

Type: System.String
See DateTimeFormatInfo for patterns that can be combined to construct custom patterns; for example, "MM/dd/yyyy".

See also

Reference

DateOptions class

DateOptions members

Microsoft.SharePoint.Utilities namespace