More description about between criteria in search records

More description about between criteria in search records


//i tryed monthStart and monthEnd format 'YYYY-MM-DD' and 'DD-MM-YYYY'
let url = `/crm/v5/Attendance/search?criteria=((Attendance_Date:between:${monthStart}:${monthEnd}))`;
when i try to post request to this url i get this error. I cant see any description about between criteria in search records. Can you help

{
    "code": "INVALID_QUERY",
    "details": {
        "expected_data_type": "date",
        "reason": "invalid value for search",
        "api_name": "Attendance_Date"
    },
    "message": "invalid query formed",
    "status": "error"
}