UtcTime Class
Useful time related fields using global time. Note that its its common for the system time to be inaccurate, expect a difference by 5 seconds. If the machine time is not automatically updated, it can be up to much more.
Namespace: Alteruna.MultiplayerAssembly: Alteruna.Multiplayer (in Alteruna.Multiplayer.dll) Version: 2.1.3+c5328b35489e83c42e288435f5acf6115fd519e0
public static class UtcTime
- Inheritance
- Object UtcTime
| Milliseconds | Get the number of milliseconds that have elapsed since 1970-01-01T00:00:00.000Z in Coordinated Universal Time. |
| MillisecondsFloat | Get Coordinated Universal Time in milliseconds casted to float with modulus to avoid losing precision. The value will loop on 16777215 milliseconds in order to avoid losing precision. |
| Now | Gets a DateTime object that is set to the current date and time on this computer, expressed as the Coordinated Universal Time (UTC). |
| Seconds | Get the number of seconds that have elapsed since 1970-01-01T00:00:00.000Z in Coordinated Universal Time. |
| SecondsFloat | |