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 » Club Houses » ROBLOX Talk
Home Search
 

Dont got USB key , gotta transfer this. Move along.

Previous Thread :: Next Thread 
Scriptulus is not online. Scriptulus
Joined: 05 Jul 2013
Total Posts: 912
17 Nov 2013 11:15 AM
function GetTime()
local Seconds = tick()
local Days = Seconds/86400 - 730
local TotalDays = math.floor(Days)
local LeapCycles = math.floor(Days/1461)
local ExtraYears = math.floor((Days%1461)/365)
local Year = LeapCycles*4 + ExtraYears
local ExtraDays = TotalDays - LeapCycles*1461 - ExtraYears*365
local Months = {{"Janurary", 31}, {"Feburary" , (ExtraYears == 0 and 29) or 28}, {"March", 31}, {"April", 30}, {"May", 31}, {"June", 30}, {"July", 31}, {"August", 31}, {"September", 30}, {"October", 31}, {"November", 30}, {"December", 31}}
local Date, TotalDate, TotalHour, FullDate
local Hour = math.floor((Seconds%86400)/3600)
local Minute = math.floor((Seconds%3600)/60)
if Minute <= 9 then Minute = "0" .. Minute end
local Second = math.floor(Seconds%60)
if Second <= 9 then Second = "0" .. Second end
for i, v in pairs(Months) do
if v[2] < ExtraDays then
ExtraDays = ExtraDays - v[2]
else
Date = v[1] .. " " .. ExtraDays .. ", "
end
end
script.Parent.Text = "days : "..TotalDays.." , Hour : "..Hour.." , Minutes : "..Minute.." , Seconds : "..Second
end

GetTime()

while wait(1) do
GetTime()
end
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » ROBLOX Talk
   
 
   
  • 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