HomeGenie Forum
Automation Program Plugins and Wizard Scripting => APP Contributions => Topic started by: djatie on December 17, 2016, 02:07:01 AM
-
I have get json data date time with universal time like this
"UpdateTime": "2016-12-17T00:52:52.850543Z"
then i convert with c# to string and it show like this
12/17/2016 00:47:05
How to convert it with C# to local time? ex GMT+9 or other.
Thnx for help
-
Did you try that ?
https://msdn.microsoft.com/fr-fr/library/system.datetime.touniversaltime(v=vs.110).aspx