solve scope today and yesterday