handle current_timestamp and current_datetime functions in date types, not just datetime types