format of date is YYYY-MM-DD