Timer of large time periods

Discussion in 'Plugin Development' started by KyllianGamer, Dec 5, 2018.

  1. Offline

    KyllianGamer

    @timtower Okay but my question is more how do you save a timestamp xd
     
    Last edited: Dec 5, 2018
  2. Online

    timtower Ninja on the waves Moderator

    @KyllianGamer You can save that timestamp in the config and have a runnable check every ... time.
     
  3. Perchance look at some of the built in Java classes for keeping track of date and time (Such as Date), and see how to convert it properly to and from a String you can save in your config file.
     
  4. Offline

    DutchJellyV2

    Id suggest using Java's LocalDateTime class.

    Verstuurd vanaf mijn COL-L29 met Tapatalk
     
  5. Online

    timtower Ninja on the waves Moderator

    Don't back edit, it is a terrible thing to do, I will never see it.
     

Share This Page