generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Is there anyway to display Timezones in a game?

Previous Thread :: Next Thread 
DesignerDavid is not online. DesignerDavid
Joined: 18 Feb 2014
Total Posts: 8422
03 Mar 2016 08:34 PM
Like if you wanted to display what time it is in Pacific Time, or Eastern Time, ect. I feel as if it would perhaps be helpful to me.

Ignorance at its finest.
Report Abuse
ThoughtConduit is not online. ThoughtConduit
Joined: 30 Nov 2015
Total Posts: 536
03 Mar 2016 08:41 PM
Yes this is possible. tick() should return time always as UTC (not sure about os.time) and you can convert this to other time zones.


Report Abuse
ThoughtConduit is not online. ThoughtConduit
Joined: 30 Nov 2015
Total Posts: 536
03 Mar 2016 08:42 PM
oops I didn't read the wiki, I think I had it backwards. tick() uses the server's local time zone, not os.time


Report Abuse
ThoughtConduit is not online. ThoughtConduit
Joined: 30 Nov 2015
Total Posts: 536
03 Mar 2016 08:44 PM
this is actually very useful because this means you can use the difference between os.time() and tick() to determine the server's timezone too.


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image