Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

DateMark Property

Visual Studio .NET 2003

Specifies the delimiter for Date and DateTime values displayed in a text box. Available at design time and run time.

Object.DateMark[ = cDateMarkCharacter]

Property Values

Specifies the Date and DateTime value delimiter. If cDateMarkCharacter is the empty string, the delimiter is determined by the setting of SET MARK. If cDateMarkCharacter is a space, the delimiter for the current setting of the text box's DateFormat property is used.

In the Properties window, use the = command to specify the empty string (= "") or a space (= " ") for the DateMark property.


The DateMark property setting is ignored if the DateFormat property is set to Short or Long.

See Also

Century Property | DateFormat Property | Hours Property | Seconds Property | SET MARK TO | StrictDateEntry Property

Applies To: TextBox Control

© 2015 Microsoft