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.
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.
Versions of the program are available for each
supported architecture
(workstation versions are currently in the directories
/env/apps/(SunOS5 | IRIX5 | alphaOSF1)/bin; Cray versions
are in /work/xcc/m3tools on sequoia) and
/flyer/com/epa/coats/bin or
/usr/local/edss/framework/EDSSv0.3pre/unicos9_TS/bin/OPTIMIZE
on flyer.
% 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.
To: Models-3/EDSS I/O API: The Help Pages