Changed NextTimeFromString() to NextTime()