× 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.



I assume you mean the fields coming in are character fields and have a value
like 4/4/09 and you need them to be 04/04/09.

I had to write a function in my string functions service program that take a
date and normalized it. Code is available if you are interested.

On Thu, Dec 17, 2009 at 1:17 PM, Buddy McClean
<Buddy.McClean@xxxxxxxxxxxx>wrote:

Wasn't quite sure of the search to use on the archives. I tried 'expanding
dates' but that was unproductive.

If you have an incomming date of 4/24/09 or 11/5/09 , where Month or Day is
zero suppressed. Is there a short way to get them accepted. Do they always
have to be 2 pos for month and day?


--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.