Thats news to me. Then why do I code:

Testdate     TEST(D)   *MDY                      99    

to test a date?
I assumed the *MDY could be changed to any of the date formats to test.

-----Original Message-----
From: John Hall <jhall@hillmgt.com>
To: RPG400-L@midrange.com <RPG400-L@midrange.com>
Date: Thursday, July 22, 1999 12:52 PM
Subject: Test Date


>I need to convert an ISO date to a *MDY date
>
>some of the ISO dates are not valid *MDY dates
>
>How do I test the ISO date to see if it will convert to a *MDY?
>
>The TEST opcode does not allow you to specify a date format to test
>against
>
>TIA
>
>John Hall
>Home Sales Co.
>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>* This is the RPG/400 Discussion Mailing List!  To submit a new         *
>* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
>* from this list send email to MAJORDOMO@midrange.com and specify       *
>* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
>* be directed to the list owner / operator: david@midrange.com          *
>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>
>

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
* be directed to the list owner / operator: david@midrange.com          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


This thread ...


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

This mailing list archive is Copyright 1997-2019 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].