So basically I am trying to get the time my game was updated through a script. I am trying to make a SurfaceGui with a textlabel that displays “This game was last updated [month] [day], [year]”. I am not sure how to go about with doing this because I have searched the devforum and scriptinghelpers but nothing is helping. I am getting the time the game was updated using the Games API. Heres my code:
local HttpService = game:GetService("HttpService")
local TextLabel = workspace.ScreenUpdated.SurfaceGui.TextLabel
local GameUpdated = HttpService:JSONDecode(HttpService:GetAsync("https://games.rprxy.xyz/v1/games? universeIds="..game.GameId)).data[1].updated
TextLabel.Text = "This game was last updated "..GameUpdated
However, it always returns something like 2017-09-26T22:43:21.667Z
Any help?