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.
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