In time.cecil:
date_info object provides hygienic access to the
current_time function. A new date_info representing the current
time is returned by the
date function; a date_info object for a
given time is constructed by the new_date_info method. Many
aspects of the current time and date can be queried; the
_shortname versions return 3-letter abbreviations of their _name
equivalents. The numbers returned are zero-based (i.e., January is
month 0 and Sunday is day 0). The print_string output for a
date_info object is identical to the output of the Unix date
command.