DateTimePicker.getFormat

Overview | Methods | This Package | All Packages

DateTimePicker.getFormat

Retrieves a value indicating the whether the control displays date and time information in long date format (for example, "Wednesday, April 7, 1999"), short date format (for example, "4/7/99"), time format (for example, "5:31:34 PM"), or custom format.

Syntax

public final int getFormat()

Return Value

Returns an integer that specifies the date and time display format. Possible return values are constants defined in the DateTimePickerFormat class.

See Also   setFormat