Panos
(Panos)
1
Hello.
I want to create a Smartapp and to convert date and time which is in MST format to GMT+3
The string I want to parse is in format:
“2020-09-12 03:16:45” (MST)
And I want to convert it to:
“2020-09-12 13:16:45” (GMT+3)
Is there any library to use within my Smartapp to do this?
Thanks
RBoy
(www.rboyapps.com - Making SmartThings Easy!)
2
No but you can do it using java/groovy libraries. You can google for the details, I believe you can z or Z: https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html
1 Like