Solved System.currentTimeMillis()

Discussion in 'Plugin Development' started by Jozeth, Sep 22, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Jozeth

    Quick question:

    Can I check if a saved (system)millisecond is less than the current (system)millisecond?

    So I can check if a player has served their time?
     
  2. Offline

    Pizza371

    Jozeth I use this (time being a pre defined variable of System.getcurrentmillis)
    System.getCurrentMillis() / 1000 - time / 1000;
    And it should return the amount of seconds between when the time variable was created, it works for me anyway
     
    Jozeth likes this.
Thread Status:
Not open for further replies.

Share This Page