Table of Contents

ToUtcKind Method

Definition

Namespace
Cuemon.Extensions
Assemblies
Cuemon.Extensions.Core.dll
Source
src/Cuemon.Extensions.Core/DateTimeExtensions.cs

ToUtcKind(DateTime)

Converts the specified value to a Coordinated Universal Time (UTC) representation.

public static DateTime ToUtcKind(this DateTime value)

Parameters

value DateTime

The DateTime to extend.

Returns

DateTime

A new DateTime value initialized to Utc that has the same number of ticks as the object represented by the value parameter.