Hi, I have discovered a serious bug in 4D v11/v12. If you are using a system date format that puts the year first, for example in Canada, 4D will return different results on Mac OS X and Windows for the following code:
$d := Date("01-02-03") Mac OS X, French (Canada): 1 février 2003 Windows 7, French (Canada): 3 février 2001 As you can see, the year and day are transposed. Because of this, unless you are absolutely certain you will only run on one platform, you will have to parse dates manually. I have filed a bug report with 4D, but who knows when it will be fixed. Regards, Aparajita www.aparajitaworld.com "If you dare to fail, you are bound to succeed." - Sri Chinmoy | www.srichinmoy.org _______________________________________________ Active4D-dev mailing list Active4D-dev@aparajitaworld.com http://list.aparajitaworld.com/listinfo/active4d-dev Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/