The Rolimon’s API can provide with useful information about different Roblox users, including the time they were last online. As far as I know, this is the only way to do this for now. The only flaw with this is that Rolimon’s only has users that have limited’s under their account or have been manually added to the website. If this won’t be an issue for you then you can try the following.
The link under Rolimon’s API is my Roblox users information, you should see “last_online” with a timestamp of when the user was last on the Roblox website in the epoch format. I’ve created a module that can provide you with with those numbers.
You can convert the numbers returned from the API with this function:
function ConvertTime(n)
return os.date('%B %d %Y %H:%M:%S', n)
end
print(ConvertTime(1678759966)) -- Expected output: March 14 2023 02:12:46
