[This is preliminary documentation and is subject to change.]
Class for getting the current time from the Internet.
This class uses the TIME protocol to get the current time from nist1-macon.macon.ga.us.
Inheritance Hierarchy
RageInternetTime
Namespace: Rage
Assembly: RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax
The InternetTime type exposes the following members.
Properties
Name | Description | |
---|---|---|
CanAccess | Gets a value indicating whether the time can be retrieved right now. The time server can only be accessed once every five seconds. If less than five seconds have passed since the last call to GetCurrentDateTime(), this property will return false. | |
LastTime |
Gets the last time retrieved from the server.
| |
TimeSinceLastAccess |
Gets the time elapsed since the time was last retrieved from the server.
|
Methods
Name | Description | |
---|---|---|
GetCurrentDateTime |
Gets the current date and time from the internet.
|
See Also