Skip to main content
Version: 6.0.0

GetSessionAgeSecs

Returns the age of the current player session in seconds as a floating-point number. Returns -1 if the session has no creation timestamp.

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab