I'm having a heck of a time parsing some really standard date formats. I've got timestamps coming out of an API in full ISO8601 format:
2017-03-30T09:57:45:963-0700
2017-04-13T15:48:46:034-0700
2017-01-16T14:42:05:811-0800
2017-01-16T14:41:04:640-0800
2017-01-16T14:41:04:640-0800
From what I've found, Alteryx doesn't support milliseconds or timezones, so I've had to throw down a Regex parser to tokenize the dates into their elements:
(\d{4})-(\d{2})-(\d{2})T(\d{2})\:(\d{2})\:(\d{2}):(\d{3})([\-\+]\d{4})and then use a formula to pull in the values Alteryx can understand and format it:
DateTimeParse([EntryDate_Year] + "-" +
[EntryDate_Month] + "-" +
[EntryDate_Day] + "T" +
[EntryDate_Hour] + ":" +
[EntryDate_Minute] +":" +
[EntryDate_Second] +
[EntryDate_Timezone],"%Y-%m-%dT%H:%M:%S%z")
Is there a better way, or a feature request I should be voting up?