Table of Contents

Class Extensions

Namespace
Aptos.Core
Assembly
Aptos.dll
public static class Extensions
Inheritance
Extensions
Inherited Members

Methods

ToUnixTimestamp(DateTime)

Converts a given DateTime into a Unix timestamp

public static int ToUnixTimestamp(this DateTime value)

Parameters

value DateTime

Any DateTime

Returns

int

The given DateTime in Unix timestamp format