Visual Basic (Declaration) | |
---|---|
Property DateSeparator As String |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IRegionalSettings Dim value As String instance.DateSeparator = value value = instance.DateSeparator |
C# | |
---|---|
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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2