31
TNet 3 Support / Re: Server Time Assistance
« on: August 09, 2015, 01:36:17 PM »if you are not connected TNManager.servertime will be your localtime. Otherwise it is from the server.
Attached is a demo.
edit: Execute your code when 'OnNetworkConnect' fires and it should display correctly.
This example is not working for me. Nor is the one that I provided. Even updating it with OnNetworkConnect. At least it doesn't work on a Mac to a Windows 2008 remote server with a blank project with only NGUI and TNET.


As you can see, it is only displaying the local time even though the remote server time is three hours different. Another note is the actual local time is 815, not 1815.