Time utility.
More...
|
static readonly DateTime | Epoch |
| The Unix epoch (1970-Jan-1). More...
|
|
◆ CurrentTimeMillis()
static long CurrentTimeMillis |
( |
| ) |
|
|
inlinestatic |
Get the milliseconds since the Unix epoch (1970-Jan-1).
- Returns
- The milliseconds since the Unix epoch (1970-Jan-1).
◆ CurrentTimeSeconds()
static long CurrentTimeSeconds |
( |
| ) |
|
|
inlinestatic |
Get the seconds since the Unix epoch (1970-Jan-1).
- Returns
- The seconds since the Unix epoch (1970-Jan-1).
◆ Epoch
Initial value:=
new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)
The Unix epoch (1970-Jan-1).
The documentation for this class was generated from the following file:
- Authlete/Util/TimeUtility.cs