Trump's announcement in a social media post Monday came as he had threated the clock was ticking for Iran to strike a deal or fighting would renew after a fragile ceasefire.