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

Populatin date

SH_94
11 - Bolide

Hi Community,

 

I would like to ask how do we populate the year based on the current year data.

 

 

For example, when i run the alteryx, it will detect what is current year and populate it . As this year is 2023,it will populate as below

Output

Year (field)         2023 (data)

 

 

Thank you.

 

 

2 REPLIES 2
Qiu
21 - Polaris
21 - Polaris

@SH_94 
There is a funtion "DateTimenow()" in the formula tool. 😁

Luke_C
17 - Castor
17 - Castor

Hi @SH_94 

 

Yup, like @Qiu  you'd do DateTimeYear(DateTimeNow()) to return 2023. 

Labels
Top Solution Authors