Microsoft SDK for Java

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.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.