Fix date validation

Litterally fix 2 lines of code. The date orders were messed up
@set15 
@pluxsuwong 
@johnn134