I have a function that returns a string in this format:
-5
+12
-10
+1
0
etc...
It is a gmt offset I retrieved from a site's API.
I need to convert this to the following formats before inserting into a DB into a TIME field.
-05:00:00
+12:00:00
-10:00:00
+01:00:00
00:00:00
any thoughts on this?
Thanks!
Chris