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