lastActiveDate {get}

API -

return function()
    local app = getApp();
    
    local user = app.getUserFromData('clonzeh');
    if user == nil then
        log('user does not exist!');
        return;
    end
    
    -- string formatted
    log(user.secondsSinceLastActive); --the last date this avatar was spawned 
end

Last updated