Hi I wrote code around 6 months ago where I converted UT datetime to EST.I used -5 offset.That time its worked fine but now as daylight saving time has changed now its not working properly.So if anyone having any ideas how to deal this please provide the solution.
Asked
Active
Viewed 32 times
0
-
read the doc https://momentjs.com/ – Salman Zafar May 20 '19 at 13:17
-
Possible duplicate of [How to check if the DST (Daylight Saving Time) is in effect and if it is what's the offset?](https://stackoverflow.com/questions/11887934/how-to-check-if-the-dst-daylight-saving-time-is-in-effect-and-if-it-is-whats) – Daniel Attfield May 20 '19 at 13:18