|
| 24 Dec 2014 12:08 PM |
How do I use the "data table" for os.time?
Do I do this?
os.time("month") |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Dec 2014 12:47 PM |
"This forum isn't for help requests, idiot."
wow you're rude
actually this is being used primarily for requests now because SH was destroyed
the old Scripters forum was trash so you cant pretend it lost out on anything |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 24 Dec 2014 12:49 PM |
"This forum isn't for help requests, idiot."
How is this a request? And I don't know the answer. :C
~Master bug finder twitch.tv/ROBLOX/c/4691695 14:08~ |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Dec 2014 12:54 PM |
you're right
Scripters should be reserved only for Inteleucitail Disuceisions as they used to Occur Here. Some of the Brightest Minds feel like they are being Shunnned from Scripters because they are Too Smart.
stop trying so hard |
|
|
| Report Abuse |
|
|
|
| 24 Dec 2014 12:55 PM |
| @Milk, you've called me (and others) names so much, that it's near impossible for you to offend people anymore. Your words have no affect, so you'd might as well give up. |
|
|
| Report Abuse |
|
|
| |
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 24 Dec 2014 12:58 PM |
os.time actually does the opposite of what you are thinking
It returns the seconds between January 1, 1970 and the date given
print(os.time{year=1970, month=1, day=1, hour=0,min = 1, sec = 1})
If you google 'lua os.time()' there is a lua org page about it |
|
|
| Report Abuse |
|
|
|
| 24 Dec 2014 01:05 PM |
Ik it does that, but
I wanna know how to get the current date using it |
|
|
| Report Abuse |
|
|
Fedorakid
|
  |
| Joined: 17 Jul 2010 |
| Total Posts: 7079 |
|
|
| 24 Dec 2014 01:07 PM |
os.time = since UTC time tick() = since computer time
since = both from 1970 unix epoch |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Dec 2014 01:09 PM |
| So then It's not possible to get the numbers of which month, day and year someone was banned? |
|
|
| Report Abuse |
|
|
|
| 24 Dec 2014 01:11 PM |
convert os.time() into readable day & time
now I have a function for it but it's not the cleanest way of doing it because it's pretty long and involves a bunch of math
eLunate has a little thing you can use and you can format it in one line it's good |
|
|
| Report Abuse |
|
|
|
| 24 Dec 2014 01:12 PM |
I've also made a RealTime module, that allows you to get the day of the month, what month it is etc. http://www.roblox.com/RealTimeModule-item?id=188363586
--ModuleMaker |
|
|
| Report Abuse |
|
|
Fedorakid
|
  |
| Joined: 17 Jul 2010 |
| Total Posts: 7079 |
|
|
| 24 Dec 2014 03:13 PM |
Milk, you can't script thus you shouldn't be here saying that to me.
Look it up on wiki. |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 24 Dec 2014 03:18 PM |
Oh, yeah I have a thing for that don't I.
preview. c9. io/lunate/skyewashere/Time.lua
No idea how ModuleMaker's is though. Anyone know how to get the rawtext from an asset so I can tell you what he's missing out on? |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Dec 2014 03:51 PM |
Wow, you're worse than what analyze used to be. I'm amazed.
It must be really gratifying to spend time on the internet doing nothing but being rude.
I really don't care that SH people come here, it is not like you guys ever do anything. It's not like you plan to do anything. |
|
|
| Report Abuse |
|
|
Fedorakid
|
  |
| Joined: 17 Jul 2010 |
| Total Posts: 7079 |
|
|
| 24 Dec 2014 03:57 PM |
^ who jarod :P
@Milk, look up on wiki. I gave a fact. |
|
|
| Report Abuse |
|
|
|
| 24 Dec 2014 03:58 PM |
| I mean Milk. I somewhat thought that was obvious. |
|
|
| Report Abuse |
|
|
Fedorakid
|
  |
| Joined: 17 Jul 2010 |
| Total Posts: 7079 |
|
|
| 24 Dec 2014 03:58 PM |
| Oh, milk was 129K. I'm convinced you can script *looks at profile* but what's with the comment? I still gave a correct fact. |
|
|
| Report Abuse |
|
|
Fedorakid
|
  |
| Joined: 17 Jul 2010 |
| Total Posts: 7079 |
|
|
| 24 Dec 2014 03:59 PM |
os.time returns the unix epoch time in seconds by UTC time tick() does the same just uses the computer time.
That's what I said, SKID. |
|
|
| Report Abuse |
|
|
|
| 24 Dec 2014 03:59 PM |
| He just has a thing for wasting time and effort being rude. |
|
|
| Report Abuse |
|
|
|
| 24 Dec 2014 04:03 PM |
| 129K is like that one troll who actually believes what he says |
|
|
| Report Abuse |
|
|