共用方式為


DateMark Property

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

  • cDateMarkCharacter
    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.

Remarks

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