Methods | This Package | All Packages

DateTimePicker Class

Encapsulates a Windows date and time picker control, which allows users to specify date and time information.

Component
  |
  +--Control
    |
    +--DateTimePicker

package com.ms.wfc.ui

public class DateTimePicker
extends
Control

Remarks

Use the getValue method to return the date and time the user selected in the control. Set the showUpDown property of the DateTimePicker control to true to display the control as an edit control containing date and time fields that the user can set using an up/down arrow. Set the showUpDown property of the DateTimePicker control to false to display the control as an edit control with an attached drop-down month calendar in which the user can select a date.