NAME dateops -- perform simple date operations SYNOPSIS dateops op [ date ] DESCRIPTION dateops will perform simple date operations (listed below). If no date is given the operation will be performed relative to today; otherwise, the date given will be used. The date is as much of YYYYMM [ DD [ hh [ mm [ ss ] ] ] ] as makes sense. OPERATORS maketime converts the date (and time, if given) to "epoch seconds". Any portion of the time not given will be treated as "00"; if no date is given, the current date and time will be used. +#, -# adds or subtracts # days; gives YYYYMMDD tomorrow equivalent to "+1" yesterday equivalent to "-1" nextmonth gives YYYYMM of the following month lastmonth gives YYYYMM of the preceeding month EXIT STATUS dateops will exit with one of the following values: 0 no errors 1 incorrect number of arguments AUTHOR Adam Moskowitz