Change date format to match mysql