support date object for time & date