The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
GELÖST

DATETIMEADD function returning the same value for all epoch inputs

shivraj_r
Meteor

Hi everyone! New to alteryx, running my first set of workflows. I'm trying to input a set of epoch values to convert to a regular timestamp but the results are the same regardless of the input? Attaching screen grabsworkflow for  datetimeaddworkflow for datetimeaddOutputOutput here

5 ANTWORTEN 5
ivoller
Quasar

Hi,

 

Does Time_Output have the correct data type (String Size 19)?

mborriero
Bolide

@shivraj_r could you please take a screenshot of your full formula?

 

Are you using 'second' as third parameter of the datetimeadd function?

 

Are you sure you are using the correct field time in second/100 and not the old one?

 

I have tried it and it works for me.

 

See picture attached

shivraj_r
Meteor

@mborriero - Attaching screen shot of my formula here - The interesting thing is that it works as as standalone offline solution (attached solution) but it doesn't work when I try to pull data from a database. And if you notice even the output from the function does not give me the correct response. formulaformulaworkflowworkflowofflineworkflow_sampleofflineworkflow_sample

mborriero
Bolide

Could you please try to rename your last time_in_seconds with another name and use it in the DATETIMEADD formula?

It is just a test, it seems a strage case

shivraj_r
Meteor

It was a strange error indeed! I just deleted the nodes and added them back with the variables!  Attaching screen grab - seems to work now!Capture 3.PNG

Beschriftungen
Top-Lösungs-Autoren