BGC Tools
Static Public Attributes | Static Private Attributes
BGC.Utility.Epoch Class Reference
Collaboration diagram for BGC.Utility.Epoch:
Collaboration graph
[legend]

Static Public Attributes

static double Time => (DateTime.UtcNow - UnixEpoch).TotalMilliseconds
 Get current Epoch time in milliseconds More...
 

Static Private Attributes

static readonly DateTime UnixEpoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)
 

Detailed Description

Definition at line 6 of file Epoch.cs.

Field Documentation

◆ Time

double BGC.Utility.Epoch.Time => (DateTime.UtcNow - UnixEpoch).TotalMilliseconds
static

Get current Epoch time in milliseconds

Definition at line 11 of file Epoch.cs.

◆ UnixEpoch

readonly DateTime BGC.Utility.Epoch.UnixEpoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)
staticprivate

Definition at line 8 of file Epoch.cs.


The documentation for this class was generated from the following file: