int getYear()
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Returns | Range | Description |
---|---|---|
int | 0...99 | year value Date object |
Get year 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 year: " + saveCurrentDate.getYear());
See also:
Copyright © demmel products gmbh. All rights reserved.