Table of Contents

ToDefaultKind Method

Definition

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

ToDefaultKind(DateTime)

Converts the specified value to a representation that is not specified as either local time or UTC.

public static DateTime ToDefaultKind(this DateTime value)

Parameters

value DateTime

The DateTime to extend.

Returns

DateTime

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