datshift [<date> <days>]where date is either Julian date (= 1000 * year + day(1...365,366) or calendar date (= 10000 * year + 100 * month + day(1...31)
DATSHIFT
program computes and displays calendar-style
date "YYYYMMDD" for an output date the specified
number of days before or after the indicated input date.
In case date is out of range, or not given
as a command line argument, DATSHIFT prompts the user for it.
% datshift 19930701 31 19930801and
% datshift Program DATSHIFT takes calendar date (in form YYYYMMDD) and a number of days as an increment and returns the date in Gregorian-date form "YYYYMMDD". Usage: "datshift [<YYYYMMDD> <+/- days>]" (if the command-line arguments are missing, prompts the user for them) Enter date (YYYYMMDD) or (YYYYDDD) [19950701] >> 19930701 Enter days increment [1] >> 63 19930902
EDSS/ Models-3 date-time manipulation routines
gregdate
greg2jul
jul2greg
juldate
juldiff
julshift
timeshift
To: Models-3/EDSS I/O API: The Help Pages