I've tried everything. I've tried devforum posts (an unknown territory for me xD), for example,
Getting the date and subtracting the player's account age from it
which provided these module scripts, and they DO work, but I could not figure out how to subtract the date. First
Second .
I also tried this post from here at scripting helpers:
but even this does not work. I updated the code a bit, with a "trust check" error:
game.Players.PlayerAdded:Connect(function(p)
id = p.UserId
end)
wait(1)
print(id) -- works
local httpservice = game:GetService("HttpService")
local url = "https://www.roblox.com/users/"..id.."/profile"
local html = httpservice:GetAsync(url) -- added
local cut = [[<p class="stat%-title">Join Date</p>%S+<p class="rbx%-lead">(.-)</p>]]
local joindate = html:match(cut);
print(joindate)
Does anyone know how to get a player's join date in a string value?

3 comments
Is there a reason you need to get the join date? Also why is id a global variable? When you can just put all this code into the event listener?
I slapped it together quickly to put it on here, and I want the join date for a dramatic effect :/
You can't send http requests to roblox so you'll need a proxy.