SOLVED
How to get DateTimeDiff using In-Database tool
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Oskido
7 - Meteor
06-14-2024
12:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
I would like to get number of days between two dates using In-Database tool.
Is it possible?
Thanks..
Solved! Go to Solution.
Labels:
- Labels:
- In Database
3 REPLIES 3
17 - Castor
06-14-2024
02:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@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> )
06-14-2024
03:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you. I am connected to SQL database..
06-14-2024
03:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
It worked. Thank you...

