Table of Contents

GetUnixEpoch Method

Definition

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

GetUnixEpoch(IDecorator<DateTime>)

Gets a DateTime initialized to midnight, January 1st, 1970 in Coordinated Universal Time (UTC).

public static DateTime GetUnixEpoch(this IDecorator<DateTime> _)

Parameters

_ IDecorator<DateTime>

The IDecorator<T> to extend.

Returns

DateTime

A a DateTime initialized to midnight, January 1st, 1970 in Coordinated Universal Time (UTC).