dirtrider478 12 Share Posted August 17, 2020 So im trying to script my bots to do specific tasks at specific times of the day but cant seem to find a 24 hour clock any where. I know System.currentTimeMillis(); will grab the computers time but the whole integer of numbers is counting up from the past 50 years in milliseconds. Is there a way to grab ether game time or the computers time in military time? Link to comment Share on other sites More sharing options...
Neffarion 485 Share Posted August 17, 2020 https://docs.oracle.com/javase/8/docs/api/java/time/LocalDateTime.html Link to comment Share on other sites More sharing options...
dirtrider478 12 Author Share Posted August 17, 2020 1 hour ago, Neffarion said: https://docs.oracle.com/javase/8/docs/api/java/time/LocalDateTime.html I ended up using localtime but it worked great thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.