Php Date String Validation Javascript Compiler With Console