Os.date "*t" and "!*t" has no information

https://www.robloxdev.com/articles/Lua-Libraries/os

I have no idea which one to use, there is not information on the Wiki about “*t” and “!*t” for using with os.date()


Luckily I found this https://devforum.roblox.com/t/utc-regarding-os-date/130037

  • *t is local time (only useful on the client), and !t is UTC
2 Likes

Hi,

Thanks for reporting this to us.

This information has now been included on the os page:

https://www.robloxdev.com/articles/Lua-Libraries/os

3 Likes

Thanks for adding it! There is a small typo in the documentation: “The time paramater defeaults…”
It should be “parameter” and “defaults”

Well that’s embarrasing! Should be fixed now.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.