cs::DMY - convenience routines for date manipulation
use cs::DMY;
$today = new cs::DMY();
$then = new cs::DMY($yyyy,$mm,$dd);
$then = new cs::DMY("yyyy-mm-dd");
Assorted routines for maniplating, parsing and printing date information.
Obtain a new object with today's localtime date.
Obtain a new object with the specified date.
Obtain a new object from the specified GMT time, rendered in local time.
Obtain a new object from the specified ISO date, rendered in local time.
Day()
Return the month day from this object (1..31).
Mon()
Return the month from this object (1..12).
Year()
Return the year from this object.
Dmy()
Return an array containing (day,month,year).
Return the ISO day code: YYYY-MM-DD.
Gmt()
Return the UNIX time in seconds of the start of this day, using the local time zone.
Return a new cs::DMY object ndays earlier (1 day earlier if not specified).
Return a new cs::DMY object ndays later (1 day later if not specified).
Monday()
Return the first Monday not later than this date.
cs::TM(3)
Cameron Simpson <cs@zip.com.au> 04dec2002