support Date objects