Discussion Board for collaboration on QlikView Scripting.
I have a number of columns of dates in the RFC3339 format:
In strftime format, this is %Y-%m-%dT%H:%M:%S%z, so the "-07:00" is the time-zone.
How do I parse this in the date#() function? The documentation doesn't mention time zones when loading data, just altering the time zone of an already loaded date.
Go to Solution.
Well, I don't think QlikView can do it easily. But you can break the problem into pieces by pulling the string apart and parsing each bit separately. Here's one approach that seems to be working.
Edit: Or did I get the sign wrong? Let's see, -7:00 would be 7 hours earlier than UTC, right? So we actually want to add to get to UTC, right?
Thanks, that worked.
Since I have about 10 columns that need the same parsing, I made this into a dollar-expression: