Aerospike LINDPad Driver

LPDHelpers..::..ToUnixEpochNS Method (DateTimeOffset)

Converts a date/time offset to Unix Epoch nanosecond value

Namespace:  Aerospike.Client
Assembly:  Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)

Syntax


public static long ToUnixEpochNS(
	DateTimeOffset dateTimeOffset
)

Parameters

dateTimeOffset
Type: DateTimeOffset
Date time offset to convert

Return Value

Unix Epoch time in nanoseconds