Sep 27, 2019 10:18 AM|PatriceSc|LINK
I suspect you are using https://www.w3schools.com/jsref/jsref_getmonth.asp which returns a month from 0 to 11 to create a date string? In this case just add 1 to have a month between 1 and
In short rather than having a problem and then adding code so that this problem doesn't have any effect, solve the source issue instead. Having 00 rarther than 12 for a month inside a date just doesn't make sense. What are you doing to get this wrong value?
Fix rather this wrong code rather than adding code to fix the wrong value you get.