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.

DATE Translation IN-DB

aYaNe_o
7 - Meteor

Hi, I would like to ask about Date Translation.

 

I would like to get firstofmonth&lastofmonth with Formula IN-DB tool.

How can I translate date with Formula IN-DB tool ?

 

When I have tried EOMONTH, I got error message...

 

 

2 REPLIES 2
Luke_C
17 - Castor
17 - Castor

The IN-DB tools use the syntax associated with the database, so you'll need to share what kind of database you're working with. 

aYaNe_o
7 - Meteor

Thank you for your replying.

>The IN-DB tools use the syntax associated with the database
I see, and I use snowflake database.

 

I checked snowflake's documantation and could get belowing answers...!

 

FirstDayOfMonth: to_date(concat(YEAR(current_date()),'-',MONTH(current_date()),'-','01'))

LastDayOfMonth: LAST_DAY(current_date())

 

 

If you have other solutions, please let me know.

Labels
Top Solution Authors