Date.getSeconds

Date.getSeconds

Class Overview | Class Members | This Package | All Packages

Syntax
public int getSeconds()
Returns
the number of seconds past the minute represented by this date.
Description
Note: getSeconds() is deprecated.

Returns the number of seconds past the minute represented by this date. The value returned is between 0 and 60. The value 60 can only occur on those Java Virtual Machines that take leap seconds into account.

See Also
Calendar