Change date format for save order query