× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



But is *LILIAN a valid format Scott?  If he has to use an API and all that
entails then he might as well write an RPG program and be done with it.

Does REXX  have a function for this?  That might be even easier? 
 
---------------------------------
Booth Martin
http://www.martinvt.com
---------------------------------
-------Original Message-------
 
From: Midrange Systems Technical Discussion
Date: 03/02/05 11:22:36
To: Midrange Systems Technical Discussion
Subject: Re: Adding 1 to date
 
The reason I prefer Lilian to Julian is that Julian won't work properly
across years. A Julian date consists of the year followed by the day
number within the year.  Since December 31 is the 365th day of the year,
the last day of this year is 05365 in Julian format.
 
If you add 1 to 05365, you get 05366 which isn't a valid Julian date.
 
When you use Lilian dates (see my other message for an example) you don't
have this problem.
 
 
On Wed, 2 Mar 2005, Valerio Vincenti wrote:
>
> You could use the CVTDAT command to convert the date to Julian format,
> add 1 then CVTDAT back to the original format.
>
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
 
 
.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.