Visual Basic (Declaration) | |
---|---|
Public Property DateSeparator As String |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RegionalSettings Dim value As String instance.DateSeparator = value value = instance.DateSeparator |
C# | |
---|---|
public string DateSeparator {get; set;} |
Property Value
String containing the date separatorThe date separator divides the portions of the date value. For example, in the date value "06/17/02", the slash (/) character is the separator.
Specify the format in which dates are displayed by setting the DateTimeFormat property. Specify the format in which short dates are displayed by setting the ShortDateFormat property.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8