date is a class that can deal with date values. SQL date is a datestring, usually in ISO formatYYYY-MM-DDwhich is better for sorting values in sequential order as the dateswill be in chronological order.