TechNet
Export (0) Print
Expand All

Language.DateFormat Property

 

Gets the date format for the language.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string DateFormat { get; }

Property Value

Type: System.String

A String value that specifies the date format for the language.

The DateFormat property is a three-character string describing the position of the day, month, and year members of a date. For example, Microsoft SQL Server language displaying dates in month/day/year order reports mdy in the DateFormat property of the referenced Language object.

Return to top
Show:
© 2016 Microsoft