Parse duration in parameter check before further processing