changed way of storing coupons' dates in db
added functions to dateadapter