os.difftime
From GMod Wiki
Function | |
Syntax |
os.difftime( Number t1, Number t2 ) Where is this used? |
Description: | |
Returns the number of seconds from time t1 to time t2. | |
Returns: | Number |
Part of Library: | os |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Os.difftime]Os.difftime [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- In POSIX, Windows, and some other systems, this value is exactly t2-t1. (Yes, that means this function is pointless.)