Hiba_t
17th June 2009, 16:48
Hi all,

When using a print session, with one field that is of type date. I noticed that if I insert in the range date field year 50 it interprets it as 1950 (such as 010150 -> 01-01-1950), and if I insert year 49 it interprets it as 2049 (such as 010149 -> 01-01-2049).

So it's like years in two digits has a "magic number=50", from year x=0 till 49 are considered to be year 2000+x, and years x=50 till 99 are considered to be year 1900+x.

My question is: is there a way to change this "magic number"? If there is then how?

Thanks in advance,
Hiba

Hitesh Shah
23rd June 2009, 18:47
While working on some other matter , I came acros a setting in Contol Panel--> Regional and language option --> Customize --> Date --> Calender . All windows applications interpret 2 digit year, date format etc from this settings . Have u checked this on ur windows machine .

Hiba_t
24th June 2009, 08:01
Thanks Hitesh but I know about this option for windows settings. My question is where can I find this setting in Baan system?

Regards,
Hiba

Hitesh Shah
24th June 2009, 18:57
Indeed it does not use this settings . I think this magic number 50 is hard coded in a binary like ntbshell which is of no use (like this windows setting ). Maybe in future it will be taken care off in new porting sets /tools release.

Hiba_t
30th June 2009, 14:02
Thanks again Hitesh...