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

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