Time.toString

Overview | Methods | Fields | This Package | All Packages

Time.toString

Retrieves this Time object as a String object.

Syntax

public String toString()

Return Value

Returns a String object that represents the string version of the time and date stored in this Time object.

Remarks

To retrieve the string representation of a Time object with either long or short formatting, use the formatLongDate, formatShortDate, formatLongTime, and formatShortTime methods.