Dates are sometimes typed as Timestamp, update getter to allow that.