FWIW, the COBOL functions calculate number of days from a date, December
31, 1600 in the Gregorian calendar, for those of you playing the home
version of Jeopardy. As I understand it, perl can call a library of
public domain libraries to perform nifty data calculations, although I
am not the best one to address that. The 'samples' page of CI
programming might prove worth a visit:
http://www.denkor.com/hp3000/command_files/samples.html. There is a link
to "days.xeq - Returns the number of days since December 31, 1899 (in
the RETURN_DAYS variable)".

> -----Original Message-----
> From: Michael D. Hensley [SMTP:[log in to unmask]]
> Sent: Tuesday, September 22, 1998 12:31 PM
> To:   [log in to unmask]
> Subject:      Re: [HP3000-L] Date Intrinsics
>
        <snip>
> Or, if you are using COBOL, use the DATE-OF-INTEGER, INTEGER-OF-DATE,
> DAY-OF-
> INTEGER, and INTEGER-OF-DAY functions.
        <snip>