1. 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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

API Proper Time Formatter 2019-06-09

One that allows for time to be parsed up to ()d ()h ()m ()s

  1. Coolfire02
    Supported Minecraft Versions:
    • 1.8, 1.9, 1.10, 1.11, 1.12, 1.13
    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!