For one of the records in my database we store two timestamps which represent the same moment in time.
One which is UTC such as this '2016-09-23 11:43:34.0000000'
And another that has a local time to the device that uploaded the data to the DB such as this '2016-09-23 06:43:34.0000000'.
Neither of these are stored with an offset due to the columns being datetime2. My question is, using either C# on my server or Javascript (such as moment.js) on my client app, would I be able to display the UTC timestamp in the users local time? From the client app I could get the current users time offset and do a calculation, I just don't understand which type of calculation I should do against the UTC timestamp.
I have looked at examples from this post Here, but have noticed the original datetime format they are using ('2015-02-05T07:52:27.59') is much different from mine.