Menu
Hello,
We have servers in USA. But clients are in different time zones (including foreign countries). So when a client logs in, the server saves the last login time in a ORACLE/SQL database. Now when the client logs in again we want to show the client the last login time in his time zone.
I can get the Date object from the server in milliseconds to javascript. But How to convert that milliseconds to client’s time zone and display a sting like : 26-Sep-2017 8:48:34 AM CST.
Now if this string to be shown in a different country, it must be shown in that country’s time and zone.
-devmp