using DATE type in SQL, except for bookings.