of     1   

KAAK82
#139892621Thursday, July 10, 2014 6:13 PM GMT

I heard that it can help make a Daily Reward System, well, how can I use it then? the one who told me about this said it's hard, so am guessing I cant do print(os.time()) or anything similar... am looking into the Wiki and everywere I can about this, if ya got anything to say, tell me.
smiley599
#139893030Thursday, July 10, 2014 6:16 PM GMT

> print(os.time()) 14 05 016 167 how hard can it get:P
smiley599
#139893357Thursday, July 10, 2014 6:19 PM GMT

there were no spaces either i had to do that cuz its not allowed (phone number? idk)
KAAK82
#139897362Thursday, July 10, 2014 6:53 PM GMT

hmmm... I though that u couldn't do that... well, how would I get the EXACT SAME Time? I'd rather my Timezone though (Middle, +0) but if it's more efficent or wat not to do their Time Zone then I'd like that too... cos I already have the Plan set up on how to give Rewards and tell the System if he's been Rewarded...
KAAK82
#140239845Sunday, July 13, 2014 11:07 PM GMT

no1?
vlekje513
#140240339Sunday, July 13, 2014 11:13 PM GMT

tick() in localscript then, but thats not trusted.
KAAK82
#140288736Monday, July 14, 2014 9:42 AM GMT

wich do u mean not Trusted? I hear guys say its os.time and others say tick... so wich is actually not Trusted? tick()? is it cos u can set the Date in ur Computer and it will follow?
blox6137
#140292279Monday, July 14, 2014 11:31 AM GMT

Actually, the os library is locked, so you couldn't use it anyway.
KAAK82
#140443695Tuesday, July 15, 2014 8:59 PM GMT

wat u mean 'cant use'?
thejonathann
#140496582Wednesday, July 16, 2014 6:48 AM GMT

os = os or {} os.time = tick ROBLOX servers do not have synchronized times so even if you use tick() inside of a server script it still isn't reliable. You could use httpservice to get the actual time from a webpage or just use tick().
Durfungus
#140496778Wednesday, July 16, 2014 6:51 AM GMT

tick() gets this big old time from like 20 years ago, idk why they wouldnt all be synced Currently have 46k R$ [HELP, DURFUNGUS IS SPREADING] Twitter - @Durfungus
Casualist
#140497191Wednesday, July 16, 2014 6:58 AM GMT

Its very simple. Use tick() from a serverscript to get unix time. Google unix time. Then all you have to do is check what day they logged in on math.floor(tick()/(24*60*60)) and give rewards when math.floor(tick()/(24*60*60)) is bigger than the last stored day.
KAAK82
#140674045Thursday, July 17, 2014 10:52 PM GMT

does that give u the day? the thing u gave... math.floor(lala(NO*NO*NO))
KAAK82
#140775708Friday, July 18, 2014 9:30 PM GMT

I tried print(math.floor(tick()/(24*60*60))) and I tried that a few times, I waited like a few mins, I see the Number is still the same, so I know I can trust this, thnx, I can already make my thing... btw, some of yas keep saying 'Get the Date using http Service, y is it so important if u can already get a Result from just doing math.floor(tick()/(24*60*60))?
Notunknown99
#140776571Friday, July 18, 2014 9:37 PM GMT

os.time() returns the time to the nearest second (Since 1970) in GMT (Probably). So, if math.floor(os.time()/(86400)) ~= prevDay then its a new day!
Notunknown99
#140776628Friday, July 18, 2014 9:38 PM GMT

DO NOT USE tick()! You will get time reverting randomly, depending on where the server is located.
KAAK82
#140778766Friday, July 18, 2014 9:58 PM GMT

thnx, but were did u get 86,400?
Notunknown99
#140778868Friday, July 18, 2014 9:59 PM GMT

24*60*60
KAAK82
#140779221Friday, July 18, 2014 10:02 PM GMT

so I see, Thnx, so am guessing GMT is Middle (near Ireland and Britain)?
Notunknown99
#140779420Friday, July 18, 2014 10:04 PM GMT

Yeah.
KAAK82
#140780218Friday, July 18, 2014 10:12 PM GMT

Sweet! Just as I want it :D I might Reward people Daily in my GTA Game wen am at least Started :/ so sad that I made myself a promise, and I'll needa make 3 Islands, Smallest size 250x250 each, then making all those Vehicles, adding Sounds, Rotation Wheels, Adding Supsension, NPC's, Cops, NPC's driving Cars, NPC's Helping doing a Drive-By, NPC's riving while u shoot, making Missions with Sounds, Animations and more, OMG, am gonna have a sore Head if I keep thinking about how to do all this, and plus stop being lazy :'( ;'(

    of     1