Proper Time Formatter

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Coolfire02

New Member
Jun 15, 2018
3
0
0
21
This is a working time formatting function that allows users to put in any given amount of seconds and it'll translate to what most people seek for when searching for a TimeFormatting function.

The reason why I created this API is because many versions of time formatting out there, either give out something like this

"21h 51.1766666666666666m" or
"25h 66m 1s"

and other weird displays.

When creating a private skript I decided to work on my own version of the time formatter to allow for the input time to be able to display up to days so like: 1d 22h 10m 57s

Hope this resource helps!