I am developing client / server application using java. client and server could be in different time zones. I want to read time value from client and it must be validated in server side. so , I want to get Universal time, which should be same in all over the world. what function I can use in java?"
Nt: I already tried System.currentTimeMillis(). but it gives different time value on server and client