[?] Teamspeak Server Query | Clientinfo Idle Time

InSide24

New Member
Feb 3, 2019
13
11
9
Hello, i have some Questions regarding Server Query.

I get the Idle time + Channels of Users over PHP but the Idle time is just an integer, how should i now transform that in a time?

Screenshot:
 

kalle

high minded
Contributor
Oct 28, 2015
411
253
178
I didnt look at the code but I suppose that numbers are seconds.
For converting you can use native function

gmdate("H:i:s", $seconds);
Hope you understand.

 

InSide24

New Member
Feb 3, 2019
13
11
9
Nope that are not seconds allready tried that, also tried to convert it from timestamp to time format.

Added a gif where i reload every second.

Gif:
 
Top