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.

Script Date Shenanigans 2.1

Adds new Skript expressions for getting real date information from the server or variables

  1. Added Duration Format

    Adds a new expression called Duration Format, this is used like the difference between in skript ex: 'difference between 10 minutes from now and now' but it is better formatted like 1d 1h 1m 1s and if the duration has been completed it will say so

    Expression Syntax:
    duration [format] of %date% [and %date%]

    If the second Date Format is not set it will default to now
  2. Remade for Skript-Mirror 1.0.0

    I downloaded my version of Skript Mirror from skunity but the version I got had many errors in console for me, turns out that was an outdated version and to get the latest you have to get it from here all future versions of this script will be built towards that (as that's the version I use) the reason I had to do this update was because on that new version the java.util.Calendar import is not recognized

    Also updated...
  3. Time added and day/month/day of the week as values

    Added new expressions:
    hour (of|for|at) %date% - Gets Hour of date
    minute (of|for|at) %date% - Gets Minute of date
    second (of|for|at) %date% = Gets Seconds of date
    day of [the] week value (of|for|at) %date% - gets the day of the week as a value (returns an integer instead of the string)
    day value (of|for|at) %date% - gets the day as a value (returns an integer instead of the string)
    month value (of|for|at) %date% - gets the month as a value (returns...
  4. Time Zone + Compressed code

    I just learned in Skript 2.2-DEV31 you can customize your own time format so I've added that method instead this compresses the code more, means you no longer need to set an option if using american time format. real time now returns seconds as well as minutes and hours and also I've added a new expression for getting the time zone

    time[ ]zone [(of|for|at) %date%]
  5. Added Time Expression

    real[ ]time [of %date%]
  6. Compressed Code

    Nothing new added, just learned about parse marks in skript mirror so I've put all 4 expressions under 1 now