TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
Books & Courses
FORUMS
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Chat
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Getting the time from a remote source
Pages:
1
Getting the time from a remote source
JeffreyDriver
Posts: 2262
September 20, 2018, 03:27:00 pm
I'm aware of the Date Extension and I'm currently tinkering with it. I assume that it gets the device time, and so it could be cheated?
Is there a way to get the time from somewhere else, such as the world clock?
Current Projects:
The Grand Grimoire Chronicles Episode 3
Twitter@JeffreyDriver
apps.jeffreydriver.co.uk
CmdrWhitey13
Posts: 504
September 21, 2018, 04:29:09 am
https://www.timeanddate.com/services/api/
Might help if ood on the coding side. Gives an API to pull data from.
squeeb
Posts: 1617
September 21, 2018, 06:38:07 am
Nice find. Google has an api also. Justin taught me how to parse json data to attributes. I can help out if needed. Lemme know.
Like my page
https://www.facebook.com/FirstPassProductions/
Check out my apps and games, more to come
https://play.google.com/store/apps/developer?id=First+Pass+Productions&hl=en
JeffreyDriver
Posts: 2262
September 21, 2018, 10:57:46 am
Thanks guys. I knew about the first one, but I hadn't thought about Google to be honest. That looks promising.
https://developers.google.com/maps/documentation/timezone/start
- this shows tells you more about it and shows an example json response.
https://developers.google.com/maps/documentation/timezone/intro#Responses
- this explains how to interpret the data. That bit seems pretty straight forward.
Current Projects:
The Grand Grimoire Chronicles Episode 3
Twitter@JeffreyDriver
apps.jeffreydriver.co.uk
Pages:
1