only convert maxAge from days to seconds once