Time.formatShortTime

Overview | Methods | Fields | This Package | All Packages

Time.formatShortTime

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

Syntax

public String formatShortTime()

Return Value

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

Remarks

Use the formatShortTime method to extract only the time fields in a Time object. For an example of how to use this method, see the addHours method.

See Also   formatLongTime, formatShortDate