DateSeparator Property


public char DateSeparator { get; set; }


Type: System.Char

Gets or sets the date separator. The date separator controls what character separates the year, month and day in displayed dates. This only affects dates that are converted to character strings.

This property can be changed when the connection is open or closed.

Setting the ConnectionString will override the current value of this property with the date separator specified in the connection string, or by the default if none is specified.

Allowed values are '/' and '-'.

The default value is '-'.


Exception Condition
ArgumentException The supplied value is not a valid date separator.
RdmException The system failed to set the date separator.