Hi all,
DateTime Format has a strange behavior
If I declare, by mistage, DateTime.DateFormat= "yyyy-mm-dd" I get a month with more then 12 like 42.
No error occurs.
I think there has to be a error message if this happend.
Because of the wrong Date Format.
If I have the DateTime.DateFormat= "yyyy-MM-dd" like it have to be I get the right Month back.
:sign0142:
DateTime Format has a strange behavior
If I declare, by mistage, DateTime.DateFormat= "yyyy-mm-dd" I get a month with more then 12 like 42.
No error occurs.
I think there has to be a error message if this happend.
Because of the wrong Date Format.
If I have the DateTime.DateFormat= "yyyy-MM-dd" like it have to be I get the right Month back.
:sign0142:
Last edited: