Timestamp Value Type


The Timestamp value type represents a particular instance in time.

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


A Timestamp value type is defined in the following manner:

[ws]date-format hh:mm[:ss[.ff]][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.
hh Required Hours, ranging from 0 to 23.
mm Required Minutes, ranging from 0 to 59.
ss Optional Seconds, ranging from 0 to 59.
ff optional Fractional seconds, consisting of 1 to 7 decimal digits.

Predefined values

The following is a list of predefined Timestamp values:

Default value 1-Jan-0001 0:00
Minimum value 1-Jan-0001 0:00
Maximum value 31-Dec-9999 23:59:59


A Timestamp attribute value configuration has the following format:

<exampleElement exampleAttribute="11-Jun-2010 18:52:12.273" />

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

Is this article helpful for you?