CodeCharge Studio All C#.NET VB.NET

DateFormat Run-Time Property (.NET)

Applies to

ConnectionString Object

Syntax

C#.NET

public string DateFormat{get;set}

VB.NET

Public Property DateFormat() As String

Description

Gets or sets the database format of DateTime values.

Examples

C#.NET

ConnectionString1.DateFormat="yyyy-MM-dd HH:mm:ss";

VB.NET

ConnectionString1.DateFormat="yyyy-MM-dd HH:mm:ss"

See also

BoolFormat Property


On-line, printable versions and updates