dates are now int and accepting date as int