I have a Timespan variable, which has time in local time zone but for a database ( cold type time) I need to pass UTC . How do I do this?
Also I need to get UTC to Local time to populate Timespan variable on pageLoad.
Thanks!!!
I have a Timespan variable, which has time in local time zone but for
Share
I suppose I would load the TimeSpan into a DateTime, then get the universal time from the DateTime and convert it back again.