All sql queries involving a date should now check/transform date format before saving