public DateTimeOffset GetCurrentLocalDateTime() { var now = _dateTime.UtcNow; var difference = now.Subtract(_startTime).TotalSeconds; var totalMinutes = difference * _minutesPerSecond; var newUtcTime = _startTime.AddMinutes(totalMinutes); return(_dateTime.GetLocalTime(newUtcTime)); }