In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

API Date Time Format Said, "Huh?"

paullefrancois
6 - Meteoroid

I hope everyone's New Year is kicking last year's January 10th's BUTT!!!

 

I'm seeing a new date time string value coming in as "PT1H8M42.622S" (without quotes of course) and would appreciate assistance tackling this one.

 

The end result would be a capture of time. 

 

Thank you in advance!  

 

Paul

6 REPLIES 6
Qiu
21 - Polaris
21 - Polaris

@paullefrancois 
What is the name of your API or the target application?

Luke_C
17 - Castor
17 - Castor

Hi @paullefrancois 

 

I'm reading it as 1:08:42 Pacific Time (no date, just timestamp). Does this make sense with what you're expecting? What are you trying to do with it in your workflow?

Qiu
21 - Polaris
21 - Polaris

@Luke_C 
nice one!

paullefrancois
6 - Meteoroid

Hello Qiu,

 

I'm connecting to NICE (CXOne). 

 

Thank you very much,

 

Paul

paullefrancois
6 - Meteoroid

Reading the string visually wasn't really an issue. I was more looking for assistance with parsing the string out in an Alteryx workflow. 

Luke_C
17 - Castor
17 - Castor

Hows something like this? @paullefrancois 

 

datetimeparse([Field1],'PT%HH%MM%S')

Luke_C_0-1642021930333.png

 

Labels
Top Solution Authors