Post what you added then.. So we can see.
I added something on my Delta server that tells you the time when you log in. It tells you a time. Not my time... How can I fix it?
Use a SimpleDateFormat ([Only registered and activated users can see links. ]) to print out their initial login time.
If you want to get the time when they log in you can simply add a variable (A long) in whichever class is the player class and when the class is initialized just set that variable to System.currentTimeMillis(). You probably won't be able to set it to their time but you should be able to set it to your time (Ideally make it print out EDT, PDT, BST, etc). In order to print out their time it would have to use some sort of GeoLocate to find the timezone that their IP is in, which tbh isn't necessary.
|« pi combatassistant messed up | small skill broblem »|
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)