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 » Scripting Helpers
Home Search
 

Global Time

Previous Thread :: Next Thread 
jhend27513 is not online. jhend27513
Joined: 17 Sep 2011
Total Posts: 3369
07 Jun 2013 03:56 PM
How do I get the time for a time zone?

Got my 999 rupees, all set.
Report Abuse
jhend27513 is not online. jhend27513
Joined: 17 Sep 2011
Total Posts: 3369
07 Jun 2013 03:59 PM
Bump

Got my 999 rupees, all set.
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
07 Jun 2013 04:13 PM
tick() returns how many seconds it's been since January 1st, 1970
Report Abuse
MrChubbs is not online. MrChubbs
Joined: 14 Oct 2010
Total Posts: 4969
07 Jun 2013 04:15 PM
tick() in a local script will also take timezone into account because it gets the time on your computer relative to 1970.
Report Abuse
jhend27513 is not online. jhend27513
Joined: 17 Sep 2011
Total Posts: 3369
07 Jun 2013 04:50 PM
How would I use tick()?

Got my 999 rupees, all set.
Report Abuse
magnalite is not online. magnalite
Joined: 18 Oct 2009
Total Posts: 2467
07 Jun 2013 04:50 PM
time = tick()
Report Abuse
jhend27513 is not online. jhend27513
Joined: 17 Sep 2011
Total Posts: 3369
07 Jun 2013 04:52 PM
So, time = tick()
print(time)
it would print the time in what location?

Got my 999 rupees, all set.
Report Abuse
RenderSettings is not online. RenderSettings
Joined: 16 Aug 2010
Total Posts: 2560
07 Jun 2013 04:52 PM
The local time for that computer - but in seconds. You have to do maths to convert it into years/months/days.
Report Abuse
magnalite is not online. magnalite
Joined: 18 Oct 2009
Total Posts: 2467
07 Jun 2013 04:52 PM
Whatever location the computer the script is running on.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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