18.11.2016, 13:23
Quote:
This is poor design overall. You only need to store seconds: 60 seconds in a minute, 3600 seconds in an hour, 86400 seconds in a day, etc. Second point (no pun intended) is that the time on the server can be calculated with either gettime() or NetStats_GetConnectedTime(). This eradicates the need for an expensive timer entirely.
|