Next: Time Functions, Previous: Date Functions, Up: The Date And Time Library [Index]
date date(void);
is a new date object
date date3(integer year, integer month, integer day);
is a new date object set as the year/month/day broken down year, month, day aggregate, with the hour, minute, second and subsecond all 0. The fields are not restricted to their normal ranges. Same as ‘date6’(year, month, day, 0, 0, 0).
date date6 (integer year, integer month, integer day, integer hour, integer minute, integer second);
is a new date object set as the year/month/day/hour/minute/second broken down year, month, day, hour, minute, second aggregate, with the subsecond 0. The fields are not restricted to their normal ranges.
date now(void);
is a new date object set to the current date