Date Value Type

Overview

The Date value type represents a the date of a day.

For more information refer to the DateTime Structure topic in MSDN.

Definition

A Date value type is defined in the following manner:

[ws]date-format[ws]
Item Behaviour Description
ws Optional White space.
date-format Required The culture-specific format of the date. Refer to the DateTimeFormatInfo Class topic in MSDN.

Predefined values

The following is a list of predefined Date values:

Default value 1-Jan-0001
Minimum value 1-Jan-0001
Maximum value 31-Dec-9999

Configuration

A Date attribute value configuration has the following format:

<exampleElement exampleAttribute="11-Jun-2010" />

For more information refer to the DateTime.Parse Method topic in MSDN.

Is this article helpful for you?