The apostrophe (of possession) is used here, because the time period discussed belongs, to a week, a month etc.
"The court's decision is expected in the time of a month", if it helps you to think like that. (NB: you shouldn't actually say that, it's just something to help you).
[Not a teacher]
Student or Learner