Description:
Returns | Description |
---|---|
static Time | provides infromation about the current time |
The getTime() method returns the current time of the real-time clock.
Example
Time time = IO.getTime();
int hour = time.getHour();
int min = time.getMinute();
int sec = time.getSecond();
Alternatively a value can be optained with a single call:
String time = IO.getTime().toString();
See also:
Copyright © demmel products gmbh. All rights reserved.