Changed date order to yyyy-mm-dd to fix rejection from mySQL database