In my JavaScript layer, I am receiving a timestamp
which is in UTC format - and I need to convert it for the local timezone. I know that the timezone can be converted using DateFormat
on the Java side, but I am looking for a reliable way to do it using only JavaScript.
Any suggestions would be very appreciated.