Hi all
I reside in the UK and for our "sins" we still honor the European data format of DD/MM/YYYY.
There is a conversion code which 'e' which according to the D3 manual states:
|
e |
Uses european date format regardless of current system default setting |
This is great, however, I discovered something rather disturbing and am wondering whether anyone (this side of the Atlantic) can see (a) if I'm doing something wrong OR (b) has uncovered this.
BTW - I am aware of the set-date-eur option in a coldstart - which (in my case) I have not opted to have.
See this code:
*My_Date = '30/09/2022'
*crt My_Date
b_date = '19997'
crt b_date
c = Oconv(b_date, 'D4/E')
crt c
crt 'next '
d = Iconv(c, 'D4/E')
crt d
crt ' and Done!'
The results are as follows:
19997
30/09/2022
next
and Done!
Which is "disturbing" as the Iconv resolves to a NULL date!
Any ideas (please)
Thanks
Stefano
------------------------------
Stefano Gallotta
Managing Member
Simply Red Open Systems
Milnerton ZA
------------------------------



