Home Contents | # date() | Date/Time | Core4 Lua Commands

## SYNOPSIS

y, m, d = date()

## DESCRIPTION

A date in function context returns the year, month and day values.

## ERRORS

Raises an error if date is not a date instance.

## EXAMPLE

> >
d = clock.currentDate() print (d())
2009 8 6

## SEE ALSO

clock.currentDate, clock.newDate, date:addDays, date:addMonths, date:addYears, date:day, date:dayOfWeek, date:dayOfYear, date:days90, date:daysInMonth, date:daysInYear, date:daysTo, date:format, date:isNull, date:isValid, date:month, date:set, date:setDays90, date:weekNumber, date:year, tostring(date)