|
At 11:53 PM 1/9/98 +0000, you wrote:
>I am curious if anyone else ever needs to know the "next Friday (or
>_any_day )" is for defaults on screens, etc? I needed to know and wrote
>a little program to do it, but wondered afterwards if there is some simple
>command, or if no one else ever cares.
>
>----------------------------------------------------
>Booth Martin
>---------------------------------------------------
>+---
Booth A few times I had the need for that also.
Example any booking that requires future dates
Charter Buses
Banquet Halls
Reservations systems
are a few that come to mind.
I also had a company that had scheduled routes so the 1at 3rd or what
ever Monday Tues etc. was very important to scheduling and adding a
stop or event.
Even had to do that in MS Access.
Back to the 400 try the API or some of the standard date routine code. A
few provide the day of the week as well as other functions.. Some
routines accept 'parms' in and allow specification of return variables
- duration, date, format, day of week, day of year, week of month/year
and hundreds more..... I guess you could treat this with a simple
CMD/CPP front end and get the return values you want - In the true sense it
is still programming - but less on your part.
Glenn
___________________________________________________
Glenn Ericson, Phoenix Consulting
P O Box 701164 East Elmhurst NY 11370-3164 USA
Phone 718 898 9805 Fax 718 446 1150
AS/400 & Year 2000- - Solutions Specialists
© 1998 copyright, all rights reserved
____________________________________________________
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.