DateFormat Property
Syntax:
public RdmDateFormat DateFormat { get; set; }
Description:
Type: RdmDateFormat
Gets or sets the date format. The date format controls how the SQL engine interprets and displays 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 format specified in the connection string, or by the default if none is specified.
The default value is RdmDateFormat.YYYYMMDD
Exceptions:
Exception | Condition |
---|---|
RdmException | The system failed to set the date format. |