DateFormat Property

Syntax:

public RdmDateFormat DateFormat { get; set; }

Description:

Type: RdmDateFormat

Gets or sets the current date format information in the connection string. The date format (along with the date separator) controls how the SQL engine will convert dates to strings. This has no effect on dates retrieved as DateTime objects or as dates converted to strings by the ADO .NET Data Provider itself.

Valid values are YYYYMMDD, MMDDYYYY, and DDMMYYYY. The default if none is specified is YYYYMMDD.

Exceptions:

None