Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to get DateTimeDiff using In-Database tool

Oskido
7 - Meteor

Hi,

 

I would like to get number of days between two dates using In-Database tool.

Is it possible?

 

Thanks..

3 REPLIES 3
DataNath
17 - Castor
17 - Castor

@Oskido when using the In-DB tools and the Formula In-DB tool, you need to use the SQL syntax of the platform you're connecting to. For example, if you're connecting to Snowflake it'd be:

 

DATEDIFF( day, <date1>, <date2> )

Oskido
7 - Meteor

Thank you. I am connected to SQL database..

 

Oskido
7 - Meteor

It worked. Thank you...

Labels
Top Solution Authors