Share via


DateOptions.GetShortDateString method

Returns a string representation of the specified date and uses the short date format.

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

Syntax

'Declaration
Public Function GetShortDateString ( _
    simpleDate As SimpleDate _
) As String
'Usage
Dim instance As DateOptions
Dim simpleDate As SimpleDate
Dim returnValue As String

returnValue = instance.GetShortDateString(simpleDate)
public string GetShortDateString(
    SimpleDate simpleDate
)

Parameters

Return value

Type: System.String
A string that contains the date in short-date format.

See also

Reference

DateOptions class

DateOptions members

Microsoft.SharePoint.Utilities namespace