Year 00 in searchfield

0
If you enter a year starting with 00 in a date searchfield it is changed to 19 by Mendix. Example: the year 0001 is changed to 1901. Can this be prevented from happening?
asked
1 answers
2

Hi Carlo, 

 

I believe this is caused by the fact that the minimum DateTime value that can be stored is Friday 1901-12-13 (according to https://docs.mendix.com/refguide/datetime-handling-faq and https://en.wikipedia.org/wiki/Unix_time). I do not believe this can be changed at the moment and would probably require storing the date time values separately (year, month, date, etc. in separate attributes) or as a text. 

 

Hope this helps. 

 

Best regards, 

   Bart 

 

answered