Package hw
Class Date

Public Method getDay

int getDay()

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns Range Description
int 1 ... 31 day value of Date object

Get day value from a Date object. The Date object is returned from IO.getDate() and will contain the date at the time of the method call, derived from the real-time clock.

Example

Date saveCurrentDate = IO.getDate();

Console.println("stored day: " + saveCurrentDate.getDay());

See also:

IO.getDate()
IO.setDate(int, int, int, int)