Posts: 1,645
Threads: 100
Joined: Aug 2009
Reputation:
0
Will the function :
getdate(year, month, day);
gettime(hour, minute, second);
Also get's the other player's date and time according to their Computer System?
Posts: 2,421
Threads: 52
Joined: Mar 2009
Reputation:
0
I beleive it just gets a timestamp from the server nothing to do with players.
Posts: 3,304
Threads: 58
Joined: Sep 2008
Reputation:
0
Errno, only the one of the server, as there's no "playerid" parameter. You could use the GeoIP plugin (I've heard a few things about it, not everything) which comes with the GetPlayerTimeZone function to retrieve their local time.
Posts: 212
Threads: 15
Joined: Jan 2008
Reputation:
0
It gets the UNIX time from your host computer and converts it into time and date. But like Hiddos said, there might be other ways of getting the information you're looking for. One would be to retrieve the country the player is from and count the timezones.