Level 67
Your javascript date format is not d/m/Y H:i:s, it's dd MM yyyy - hh:ii so obviously that won't match in validation.
But, why use that format in the first place when sending from javascript? How are you storing it in the database (field type)? Why not just use yyyy-mm-dd h:i:s and then you don't need to convert it.
2 likes