Convert iso8601_micro date format into local date/time and local timezone
Hello.
I've been racking my brain on this and unable to find any samples of how to convert iso8601_micro date/time format into my localtime with timezone. I've been able to convert it as far as getting the UTC value but I need to make it so it shows the local time convert to locall timezone.
I'm basically taking this value from tower to show when a host was created in an inventory so I can either keep it there or delete it. If anyone has any great ideas please come forward!
Thank you.
Glen