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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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".