Thu Apr 06 2018 09:24:00 GMT+0530 (India Standard Time) I want to get this date in ISO format.(Not just in IST timezone, but other timezones as well). If I use .toISOString() method of Date it converts the date to UTC. I want to get the date in ISO format but retain the date in the given timezone. How can I do that?
.formatfrom moment.d = moment(); d.format();