Skip to content

DateTimeExtensions.GetMicroTimestamp(DateTime) method

Defined in

Type: DateTimeExtensions Namespace: CrissCross.WPF.UI.Extensions Assembly: CrissCross.WPF.UI.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

public static long GetMicroTimestamp(this DateTime dateTime)

Summary: Gets the number of microseconds that have elapsed since the Unix epoch, excluding leap seconds. The Unix epoch is 00:00:00 UTC on 1 January 1970.

Parameters

NameTypeDescription
dateTimeDateTimeThe date time.

Returns: long -- A long.