return date with obj