added DateMidnight mapping