Number of days between datetime and date fields

If you have one datetime and another date field.

DATEDIFF(DATE({tc}.quote_relDATETIMEase_date_c), {tc}.DATE)

OR

DATEDIFF(CAST({tc}.DATETIME AS DATE), {tc}.DATE)