Generating Counterfactual Explanations Under Temporal Constraints