How is a month of the year detected by a script?

Hello users, once again I have a problem:
So, I wanted to make a script that was able to detect one month of the year and in doing so it for example made Halloween props visible to people. However I found nothing about the months or days of the year on the roblox website.
Is there a roblox studio website that shows me how to detect if it is the “such” day of the “such” month?

Hi,

Roblox has an inbuilt function feature which can return real dates and times into your game. It’s “os”. I suggest you check out this nifty piece of documentation:
https://developer.roblox.com/en-us/api-reference/lua-docs/os

Hope this helps!
-Tom :slight_smile:

1 Like

thank you, it was what I was looking for