Changes dates to be numeric and adds to the valid units list