changed DateTime to Num, added is_date