Time.formatShortDate

Overview | Methods | Fields | This Package | All Packages

Time.formatShortDate

Retrieves the Time object as a String using the short date format.

Syntax

public String formatShortDate()

Return Value

Returns a String object that represents the short date format of the Time object.

Remarks

Use the formatShortDate method to extract only the date fields in a Time object. For an example of how to use this method, see the addDays method.

See Also   formatLongDate, formatShortTime