Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Does Alteryx allow you to convert Unix Epoch time to another date format?

Dom
8 - Asteroid

Does Alteryx allow you to convert Unix Epoch time to another date format?

13 REPLIES 13
Inactive User
Not applicable

Awesome ..Thank you..!

AKPWZ
8 - Asteroid

Hi @bobpeers 

I have one query related to unix/epoch time conversion.

I'm using this formula to convert this unix/epoch time into normal date time format but it throwing an error - 

Error - "Error: Formula (23): Parse Error at char(38): Formula: tried to apply numeric operator to string value (Expression #1)
"

Formula: DateTimeAdd('1970-01-01',[created_at]/1000, 'Seconds')

 

Can you please help me what wrong I'm doing here?

 

bobpeers
9 - Comet

Hi @AKPWZ 

 

My guess would be that your field [created_at] is formatted as a string instead of a number.

AKPWZ
8 - Asteroid

Hi @bobpeers  Thank you it worked for me when I change the data type to double before dividing it. Thanks alot!

Labels