Solved Skript time to java

  • 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!

Normalguy

Active Member
Apr 19, 2018
98
0
0
24
Hi, I want to set time like
code_language.skript:
Set (_now) to now
In java. This isn’t my actual problem. My problem is how to get the difference between time. Like 0.05 seconds
 
Java:
long timerStart = System.currentTimeMillis()
later...
long timeDifference = System.currentTimeMillis() - timerStart
this will obviously be in milliseconds so if you want seconds divide by 1000