|
static int | Current () |
| Get the current timestamp as seconds from Epoch (Unix time)
|
|
static int | SecondsElapsed (int t1) |
| Time since a given time in seconds from Epoch (Unix time) More...
|
|
static int | SecondsElapsed (int t1, int t2) |
| Time between two Unix Timestamps (seconds from epoch) More...
|
|
◆ SecondsElapsed() [1/2]
static int Astra.Utils.Epoch.SecondsElapsed |
( |
int |
t1 | ) |
|
|
inlinestatic |
Time since a given time in seconds from Epoch (Unix time)
- Parameters
-
t1 | Epoch timestamp to get the elapsed time from |
◆ SecondsElapsed() [2/2]
static int Astra.Utils.Epoch.SecondsElapsed |
( |
int |
t1, |
|
|
int |
t2 |
|
) |
| |
|
inlinestatic |
Time between two Unix Timestamps (seconds from epoch)
- Parameters
-
t1 | First timestamp |
t2 | Second timestamp |
The documentation for this class was generated from the following file:
- Assets/Astra/Utilities/Epoch.cs