|
At 11:56 PM 4/3/98 , boothm@ibm.net wrote:
>I want to initialize a date field with May 2nd, 1997 in the D spec.
>0005.00 hdatfmt(*mdy)
>0008.00 d DateTest s d DATFMT(*ISO)
>0009.00 d Inz('05-02-1997')
Try
0009.00 d Inz('1997-05-02')
ISO format is YYYY-MM-DD, not MM-DD-YYYY
david
--
| Internet: david@midrange.com
| WWW: http://www.midrange.com/david
|
| ... A man can move mountains, a world can be turned,
| and the greatest of distances easily spanned,
| When the strength that's invested in making a fist
| is transformed into shaking a hand.
|
| - DMRoth
|
| Fight Spam! Join CAUCE! == http://www.cauce.org/
+---
| 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.