Parse duration for track command.