System.Windows.Forms.DateTimePicker.MaxDateTime Field

Specifies the maximum date value of the System.Windows.Forms.DateTimePicker control. This field is read-only.

Value: 12/31/9998 12:00:00 AM

Syntax

[System.ComponentModel.Browsable(false)]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public static readonly DateTime MaxDateTime

Remarks

The maximum date is set to 12/31/9998 23:59:59.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0