- Home /
How do I pull the current time from a website?
I'm looking to pull the time from a website to see how long it's been since a user last launched my application. Rather than reading the System's time, which can be changed and exploited by the user, I'd like to read the time from an external website. Anyone have experience with that?
Answer by meat5000 · Oct 30, 2013 at 10:05 PM
http://stackoverflow.com/questions/516788/getting-current-gmt-time
Maybe this can help you
Thanks meat, but I'm not very good at this stuff and that seems way over my head. I tried just plugging the code into Unity but of course it doesn't work like that.
How about this: When I Google "time", the current time comes up first thing. Is there some way to filter out the other data from the search and just get the time in a String? I've looked into the WWW function in Unity, but I'm at loss where to go from there.
Perhaps [i]why[/i] it doesn't work when you "just plug it in" would be helpful especially since the linked answer was specifically tested against Unity.