Introduction
Details
But this will be an issue for regions with daylight savings time and it can start displaying the wrong date and time when the time changes. I tried different options to make it work without the offset value to avoid this date time issue. To overcome this issue I displayed date time field under an html table like following.
and after that I used Moment.js like the following to solve the daylight issue.
After the above changes, I was able to see the date and time correctly,