We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Serial date to calendar date time in a custom format

Jsan2758
6 - Meteoroid

Hi

 

I need help in converting a serial date time  (input as string or double) to a calendar date time in the following custom format yyyy-mm-ddThh:mmZ.

 

I tried DateTimeAdd function but it just doesn’t pick up the actual hours and minutes. 

I also tried the date time tool but having trouble with string / date time fields. 

thanks 

 

4 REPLIES 4
DavidP
17 - Castor
17 - Castor

Can you post samples of your input data and desired output format.

Jsan2758
6 - Meteoroid

Hi 

the input is 43735.5919097222  (double or string)

the output:  2019-09-27T14:12Z

 

 

thanks heaps

 

DavidP
17 - Castor
17 - Castor

This will do it

 

DavidP_0-1586520750352.png

 

Jsan2758
6 - Meteoroid

Thank you so much! It works.

Labels
Top Solution Authors