extract params built by date into a method