Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Date coming in as number when going from Quickbase to Alteryx

Tori-Tiesenga
5 - Atom

Whenever I take a report from QuickBase that has the date formatted as dd/mm/yyyy to Alteryx, I end up with a number like 1698019200000. Does anyone know why? I've tried to change it to a date without any luck. What am I doing wrong?

 

Thank you in advance!

6 REPLIES 6
AGilbert
11 - Bolide

If you have a date as a string datatype you can use the datetimeparse() function to convert it to a date datatype. Alteryx only recognizes dates in the yyyy/mm/dd format. 

 

Regarding the long string of digits, it would be helpful to see the source data and workflow that is giving that value. 

 

datetimeparse.png

Noel_Wiedner
6 - Meteoroid

I'm having the same issue.  Hoping someone here posts a solution!

apathetichell
19 - Altair

convert the large number to a number (if stored in string). divide it by 1000.

try:

datetimeadd("1970-01-01",[your new number],"seconds")

 

as a new date or datetime field. Does this look right?

 

The original post looks like it was 2023-10-23 00:00:00

 

@Tori-Tiesenga - sorry I didn't address your question when you posted. Hopefully this is what you wanted.

Noel_Wiedner
6 - Meteoroid

That did the trick for me!  Thank you SO much.

 

In all my days, I'd never have guessed that Quickbase (apparently) stores dates as number of milliseconds elapsed since New Year's Day 1970...huh.

apathetichell
19 - Altair
Noel_Wiedner
6 - Meteoroid

Fascinating - thank you!

Labels