get start date and end date of calendar