In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. 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