Package hw
Class IO

Public Method getDate

static Date getDate()

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns Description
static Date date of the real-time clock

The getDate() method returns the year, the month, and the day in one string ("year/month/day").

Note

Example

Date date   = IO.getDate();

int day     = date.getDay();

int weekDay = date.getWeekDay();

If the weekDay is e.g. is 3 it means Wednesday (when automatically set by iLCD Manager XEJoC Manager). Alternatively a value can be optained with a single call:

String date = IO.getDate().toString();

See also:

IO.getDateTime()
IO.getTime()
IO.setDate(int, int, int, int)
IO.setTime(int, int, int)