Spread Windows Forms 10.0 Product Documentation
DateSeparator Property (RegionalSettings)


Gets or sets the string that separates the portions of a date value.
Syntax
'Declaration
 
Public Property DateSeparator As String
'Usage
 
Dim instance As RegionalSettings
Dim value As String
 
instance.DateSeparator = value
 
value = instance.DateSeparator
public string DateSeparator {get; set;}

Property Value

String containing the date separator
Remarks

The 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.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

RegionalSettings Class
RegionalSettings Members
DateTimeFormat Property
ShortDateFormat Property

 

 


Copyright © GrapeCity, inc. All rights reserved.