How to interact with PHP? #2740
Tok1shu
started this conversation in
APIs and Development
Replies: 2 comments
-
Time in Plan database is stored in milliseconds. You are getting the register date instead of playtime. Playtime is calculated from plan_sessions table. SELECT uuid, SUM(session_end-session_start) as playtime
FROM plan_sessions s
JOIN plan_users u on u.id=s.user_id
GROUP BY uuid |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can also use the json endpoints (Documented at |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Good evening, I have a question, I calculate the played time through time in php, but I think it’s wrong, can this be fixed?



Beta Was this translation helpful? Give feedback.
All reactions