My current date Mon Jul 03 2017 10:17:40 GMT+0530
(standard time in India).
I want to convert this date to a specific time zone and locale, depending on the user, for example GMT+00:00
.
How can I convert a given date to a custom format?
krish source
share