We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Current month and Year formula to text

dtsoy
6 - Meteoroid

Hi all,

 

I need add to text - current month and Year.

With Excel it's looks like that:

Capture.PNG

 

But in Alteryx it shows me error "Wrong number of parameters for the function "DateTimeToday".

Capture1.PNG

 

Do somebody have any idea how to solve it?

 

Thanks!

2 REPLIES 2
LordNeilLord
15 - Aurora

Hey @dtsoy 

 

DateTimeToday() does not have any parameters....so if you want a different format you'll need to use:

 

DateTimeFormat(DateTimeToday(), "%m-%Y")

dtsoy
6 - Meteoroid

Thanks a lot!! It works now.

Labels
Top Solution Authors