|
When I try to set Date format to *DMY in DDS using following syntax and run my program, A MDATE L B 4 40DATFMT(*DMY) The following error occurs. "The year portion of a Date or Timestamp value is not in the correct range " If I use any other date format besides *DMY, then it works fine. I am using Client Access on my Laptop having Windows XP, and my system date format in Regional Settings is set to : dd/mm/yyyy. In Source, I have defined the field as under:- D MDATE S 10D C EXFMT RECORD1 Further, how can I set the date format to 4-Digit Year like (DD/MM/YYYY) and pass the current date to the MDATE. Best Regards, Luqman
As an Amazon Associate we earn from qualifying purchases.
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.