Table of Contents

Page "Date-Time Dialog"

ID 684
Namespace: System.DateTime

Dialog for entering Date or DateTime values.

Properties

Name Value
Extensible False
PageType StandardDialog
ContextSensitiveHelpPage ui-enter-date-ranges
InherentEntitlements X
InherentPermissions X

Methods

SetDateTime

Setter method to initialize the Date and Time fields on the page.

procedure SetDateTime(DateTime: DateTime)

Parameters

Name Type Description
DateTime DateTime

The value to set.

GetDateTime

Getter method for the entered datetime value.

procedure GetDateTime(): DateTime

Returns

Type Description
DateTime

The value that is set on the page.

UseDateOnly

Method for hiding the time on the page.

procedure UseDateOnly()

SetDate

Setter method to initialize the Date on the page.

procedure SetDate(NewDate: Date)

Parameters

Name Type Description
NewDate Date

The value to set.

GetDate

Getter method for the entered date value.

procedure GetDate(): Date

Returns

Type Description
Date

The value that is set on the page.

See also