juldate [<month day year>]
or, alternately,
juldate [ yesterday | today | tomorrow ]
where month may be either a name (or abbreviation) or number (1...12)
for the month, day is day-of-month, and year is the full 4-digit year
("1995" instead of "95"). For the alternate form,
the capitalization or not for the argument today (etc.) is not
significant: the program handles juldate today and
juldate TODAY identically. If there is no command-line
argument, the program will give a usage-screen and prompt you for the
date to be converted.
JULDATE program computes and displays calendar-style
date "Month DD, YYYY" for the indicated Julian date
YYYYDDD. It also displays the day-of-week (Sunday, Monday, ..., or
Saturday), and indicates whether or not daylight savings time should
be in effect. In case jdate is out of range, or not given
as a command line argument, JULDATE prompts the user for it.
% juldate Sept 9 1995
Saturday, 1995252
Daylight Savings Time in effect.
and
% juldate 9 9 1999
Thursday, 1999252
Daylight Savings Time in effect.
and
% juldate
Program JULDATE takes calendar date (in form Month DD YYYY)
and returns the date in Julian-date form "YYYYDDD".
Usage: "juldate [<MONTH DAY YEAR>]"
(if the command-line arguments are missing, prompts the
user for them)
Enter month (1-12) [7] >> 2
Enter day (1-31) [1] >> 22
Enter year [1988] >> 1922
Wednesday, 1922053
Standard Time in effect.
or even
% juldate foo bar
Program JULDATE takes calendar date (in form Month DD YYYY)
and returns the date in Julian-date form "YYYYDDD".
Usage: "juldate [<MONTH DAY YEAR>]"
(if the command-line arguments are missing, prompts the
user for them)
Enter month (1-12) [7] >> 7
Enter day (1-31) [1] >> 7
Enter year [1988] >> 77
>>> RESPONSE ERROR <<<
Your response 77 not in the range 1000 ... 9999
This is error 1 of 5 errors allowed
Please try again.
Enter year [1988] >> 1977
Thursday, 1977188
Daylight Savings Time in effect.
EDSS/ Models-3 date-time manipulation routines
datshift
gregdate
greg2jul
jul2greg
juldiff
julshift
timeshift
To: Models-3/EDSS I/O API: The Help Pages