Player.TimeConnected
From GMod Wiki
| Function | |
| Syntax | Player:TimeConnected( ) | 
| Description: | |
| Returns player's connection time as a real number in the format of seconds. | |
| Returns: | Number | 
| In Object: | Player | 
| Realm: | 
		 | 
	
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.TimeConnected]Player.TimeConnected [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] | 
	
Examples
| Description | Prints player id 1's connection time in seconds. | 
|---|---|
| Used on | |
| Code | local objPl = player.GetByID(1) objPl:ChatPrint(tostring(objPl:TimeConnected())  | 
| Output | Connection time in seconds. | 
WARNING: THIS IS A WORKAROUND FOR CLIENTSIDE!