Converting Time and Time Zones
Hi Everyone
I am trying to convert a time Zone to the local time of the user.
I am fetching some data from an API, and it is coming back in this format: 2024-12-09T16:49:23Z This is in UTC/GMTZulu time.
I am looking to convert it to the user time. In this instance the user is in CST6CDT time zone.
I have tried a range of different functions, but am unable to find an easy way to do this, without getting the difference between the user time and the UTC and then adjusting the time for that.
Would anyone be able to help with the right deluge code to convert the above time to at least the users local time, but preferably to any time zone that is chosen?
Thanks
Carl