Class TimeUtility
Provides Unix-epoch timestamp helpers.
Inherited Members
Namespace: Unity.SimulationPro
Assembly: Unity.SimulationPro.Capture.dll
Syntax
public static class TimeUtility
Fields
UnixEpoch
The Unix epoch origin: January 1, 1970 00:00:00 UTC.
Declaration
public static readonly DateTime UnixEpoch
Field Value
| Type | Description |
|---|---|
| DateTime |
Methods
TimestampUnixEpoch()
Returns the current UTC time as seconds since the Unix epoch.
Declaration
public static int TimestampUnixEpoch()
Returns
| Type | Description |
|---|---|
| int | Integer seconds since January 1, 1970. |