• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

timezones utc and location

RizbIT

Member
If you used date_set_timezone(timezone_utc); and then use date_current_datetime()
it would give a value that corresponds to the time on my phone right.

If im based in UK UTC is same as GMT so the time would be now and correct.

If i took that same phone to another country whos time was 5 hours ahead and then used
date_set_timezone(timezone_utc); and date_current_datetime() would it just pulll the time from the phone?

so which country you are in doesnt matter it just pulls the time set on the device?

so what difference does it make if you use timezone_local

The reason to ask is i have a button on the app that gets the time now, it should be the time of NOW in thats users country or device. I then need to convert it to UTC
 
Top