I'm using asp.net mvc 5 for my website and I'm sending the date of a transaction as a DateTime
object from the model to the view in UTC using ISO8601 format- 2019-03-15T22:32:04.9143842Z
.
If I receive 2019-03-15T22:32:04.9143842Z
as a string from the model I need a function that can convert it to local time for the client. So if the client is in PST then it should convert it to such.