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
 

Re: Is there a way to get the Actual Time?

Previous Thread :: Next Thread 
zapzing303 is not online. zapzing303
Joined: 05 Mar 2010
Total Posts: 1486
22 Aug 2013 05:05 PM
And then convert it between timezones?
Report Abuse
morash is not online. morash
Joined: 22 May 2010
Total Posts: 5834
22 Aug 2013 05:07 PM
Use tick() in a local script to get the current time of the person's computer in seconds since something.
Report Abuse
Toughlizard1345 is not online. Toughlizard1345
Joined: 13 Jul 2010
Total Posts: 1077
22 Aug 2013 05:09 PM
You could get the players to put in their time and then have it work from there.
Report Abuse
morash is not online. morash
Joined: 22 May 2010
Total Posts: 5834
22 Aug 2013 05:09 PM
:| tick() works better.
Report Abuse
lordrambo is not online. lordrambo
Joined: 16 Jun 2009
Total Posts: 20628
22 Aug 2013 05:10 PM
Yes. You can use tick() to get all the time that has passed since 1970 Jan 1st.

in a local script this will be your timezone. Server sided tick is most likely PST since ROBLOX is in California. Switching between timezones is as simple as adding on hour ever much time you need to to get to where you need to be.

If you just want something for free and not the knowledge, take this:
http://www.roblox.com/Real-Time-script-item?id=52921518
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
22 Aug 2013 05:35 PM
"get all the time that has passed since 1970 Jan 1st."
You mean seconds?

If you want to use a normal script, just do:
tick() + or - (60 * 60 * Hour Difference)
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