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 (in Alteruna.dll) Version: 2.0.1+a1176e08a0b4a6bfd8fefeddde6163a16d29e5ab
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 | |