So on the developer hub it says that
print(os.date("%c", os.time()))
will print out the date in this format
I tried in studio it somehow prints the date in this format
Is it a bug or is it a typo?
Link:
https://developer.roblox.com/en-us/api-reference/lua-docs/os
I don’t know a category to post this in
royaltoe
(royaltoe)
September 13, 2020, 2:27am
2
Not a roblox bug, lua online has the same result
How do you feel about something like this?
local d = os.date("*t")
local formattedTime = string.format("%02d/%02d/%d %d:%d:%02d", d.month,d.day,d.year, d.hour, d.min, d.sec)
print(formattedTime)
Hexcede
(Hexcede)
September 13, 2020, 2:35am
3
This should go under the following category:
This category is for reporting issues and requesting new content and features for the Roblox Developer Hub , which is the place to find technical documentation and tutorials on Roblox development.
I’m not sure if this is a bug/device inconsistency or a typo, but it does seem like a typo.
I can’t post in that category I’m a member
Hexcede
(Hexcede)
September 13, 2020, 2:50am
5
Hmm, I would have said go through Post Approval, but, turns out Post Approval is removed. I’m not sure what to say about this then.