But he said it would not be possible to end the almost three years of war in one day, as Mr Trump claimed he could do during his election campaign.