Numeric type can contain a Date instead of a number, check added for Date and return the time in millis if a Date is found.