Using os.time to make a multiple textboxes show Years, Months, Days, Hours, Minutes, and Seconds?

Hi! I am new to using timing in my game, so I have been trying to work out using os.time to get the years, months, days, hours, minutes, and seconds and put them in to different text boxes. I have tried searching around, but was not sure what to look up exactly. The closes thing I could find was Alvinblox’s Tutorial, but that didn’t show me how to use it with textboxes and how to get the specific data I am looking for. Can someone help?

EDIT: I have just found something on the devhub. Sorry I forgot to check there!

this might help

We can just use os.date now. That thread is ancient.

4 Likes