MOSCOW — Ukrainians were thrown into confusion this week over their country’s martial law emergency as the president pressed Parliament to enact the measure without a complete public version of what it contained, including the effective date.

The president, Petro O. Poroshenko, said in his speech to Parliament on Monday that martial law would begin Wednesday, but his official website said it had taken effect Monday. In addition, the government’s newspaper of record published an older, more stringent version of the law saying that it would last 60 days instead of 30 as approved by lawmakers.

Mr. Poroshenko sought to reassure the public through a television interview and Facebook posts that the law, a response to what he called new Russian military threats this past weekend, would only be enforced in the event of an invasion and that it would not restrict civil liberties.

But lawyers, diplomats and other experts said that the rollout shrouded the whole thing in fog.

“Nothing is known about the restrictions themselves,” said Eugene Krapyvin, a lawyer who works on government reform.