67 references to UtcDateTime
mscorlib (39)
system\datetimeoffset.cs (36)
199return UtcDateTime.ToLocalTime(); 339return UtcDateTime.Ticks; 447return DateTime.Compare(first.UtcDateTime, second.UtcDateTime); 461DateTime objUtc = ((DateTimeOffset)obj).UtcDateTime; 462DateTime utc = UtcDateTime; 469DateTime otherUtc = other.UtcDateTime; 470DateTime utc = UtcDateTime; 484return UtcDateTime.Equals(((DateTimeOffset)obj).UtcDateTime); 490return UtcDateTime.Equals(other.UtcDateTime); 508return DateTime.Equals(first.UtcDateTime, second.UtcDateTime); 585return UtcDateTime.GetHashCode(); 654return UtcDateTime.Subtract(value.UtcDateTime); 663return UtcDateTime.ToFileTime(); 683long seconds = UtcDateTime.Ticks / TimeSpan.TicksPerSecond; 690long milliseconds = UtcDateTime.Ticks / TimeSpan.TicksPerMillisecond; 700return new DateTimeOffset(UtcDateTime.ToLocalTime(throwOnOverflow)); 724return new DateTimeOffset(UtcDateTime); 847return left.UtcDateTime - right.UtcDateTime; 851return left.UtcDateTime == right.UtcDateTime; 855return left.UtcDateTime != right.UtcDateTime; 859return left.UtcDateTime < right.UtcDateTime; 863return left.UtcDateTime <= right.UtcDateTime; 867return left.UtcDateTime > right.UtcDateTime; 871return left.UtcDateTime >= right.UtcDateTime;
system\timezoneinfo.cs (3)
429return GetUtcOffsetFromUtc(dateTimeOffset.UtcDateTime, this); 544GetUtcOffsetFromUtc(dateTimeOffset.UtcDateTime, this, out isDaylightSavingTime); 710DateTime utcDateTime = dateTimeOffset.UtcDateTime;
System.Data (4)
fx\src\data\System\Data\SqlClient\SqlBuffer.cs (1)
921DateTime utcDateTime = dateTimeOffset.UtcDateTime; // timeInfo stores the utc datetime of a datatimeoffset
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
6312bytesPart = SerializeDateTime2(value.UtcDateTime, scale, length - 2); 6330WriteDateTime2(value.UtcDateTime, scale, length - 2, stateObj);
fx\src\data\System\Data\SqlClient\TdsValueSetter.cs (1)
584DateTime utcDateTime = value.UtcDateTime;
System.Data.Linq (18)
SqlClient\SqlMethods.cs (18)
49return DateDiffYear(startDate.UtcDateTime, endDate.UtcDateTime); 107return DateDiffMonth(startDate.UtcDateTime, endDate.UtcDateTime); 166return DateDiffDay(startDate.UtcDateTime, endDate.UtcDateTime); 225return DateDiffHour(startDate.UtcDateTime, endDate.UtcDateTime); 284return DateDiffMinute(startDate.UtcDateTime, endDate.UtcDateTime); 344return DateDiffSecond(startDate.UtcDateTime, endDate.UtcDateTime); 404return DateDiffMillisecond(startDate.UtcDateTime, endDate.UtcDateTime); 470return DateDiffMicrosecond(startDate.UtcDateTime, endDate.UtcDateTime); 536return DateDiffNanosecond(startDate.UtcDateTime, endDate.UtcDateTime);
System.Runtime.Caching (3)
System\Caching\HostFileChangeMonitor.cs (2)
37uniqueId = path + lastWrite.UtcDateTime.Ticks.ToString("X", CultureInfo.InvariantCulture) + fileSize.ToString("X", CultureInfo.InvariantCulture); 58sb.Append(lastWrite.UtcDateTime.Ticks.ToString("X", CultureInfo.InvariantCulture));
System\Caching\MemoryCacheEntry.cs (1)
111_utcAbsExp = absExp.UtcDateTime;
System.Runtime.Serialization (1)
System\Runtime\Serialization\DateTimeOffsetAdapter.cs (1)
67return new DateTimeOffsetAdapter(value.UtcDateTime, (short)value.Offset.TotalMinutes);
System.Web.Extensions (1)
Script\Serialization\JavaScriptSerializer.cs (1)
438SerializeDateTime(((DateTimeOffset)o).UtcDateTime, sb, serializationFormat);
System.Xml (1)
System\Xml\Core\XmlWriter.cs (1)
299WriteValue(value.UtcDateTime);