<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parameters_to_datetime(self, p):
 """ Given a dictionary of parameters, will extract the ranged task parameter value """

        dt = p[self._param_name]
        return datetime(dt.year, dt.month, dt.day)