int getMonth()
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Returns | Range | Description |
---|---|---|
int | 1...12 | month value of Date object |
Get month 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 month: " + saveCurrentDate.getMonth());
See also:
Copyright © demmel products gmbh. All rights reserved.