call the function datetime.datetime with 3 arguments: value.year, value.month and value.day, substitute the result for result.
result = datetime . datetime ( value . year , value . month , value . day )