So I was experimenting with Roblox scripting and I wanted make a little clock at the top of the screen for my Roblox game, I currently have a working day/night cycle. So my entire goal is to use the TimeOfDay property off lighting as a digital clock like in this format
12:00
If this is impossible I truly understand. Thank you in advance

3 comments
Thank you so much
or go overkill and use the % opperator on GetMinutesAfterMidnight :>
Yeah, you could use gsub or match, but given that the format is always the same, it makes the most sense to use the simple substring function.