[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [open-cobol-list] julian to calendar date (yyddd or yyyyddd to yymmd
From: |
john Culleton |
Subject: |
Re: [open-cobol-list] julian to calendar date (yyddd or yyyyddd to yymmdd or ccyymmdd.) |
Date: |
Wed, 26 Jun 2013 16:29:25 -0400 |
On Wed, 26 Jun 2013 14:23:42 -0400
john Culleton <address@hidden> wrote:
> This should be a simple task, but there doesn't seem to be a function
> to do it directly. Note that I am not dealing with today's date but a
> julian date that I furnish. I want to start at a date near the
> beginning of the year and add 14 successively to identify every other
> Tuesday.
>
No sooner than I asked I found the answer, a function called INTEGER-OF
DAY which when followed by DATE-OF-INTEGER function does the job. I was
looking at functions that began with DAY or DATE. Duh!
--
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
PDF e-book: "Create Book Covers with Scribus"
available at http://www.booklocker.com/books/4055.html