Login or sign up Lost password?
Login or sign up
Warning: Date test Date = Date Instance().validate("25/13/2013", "dd/MM/yyyy") correctly identifies that 13 is not a valid month but Date test Date = Date Instance().validate("25/13/2013456", "dd/MM/yyyy"); returns as a valid date despite the mask only allowing 4 characters.