The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
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

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #46: Formatting a Date from an Integer

chirimoyayachay
Asteroide

here you go

cerinawoo
Meteoro

IIF(Left([date], 1)='0','19','20') + Right([date], Length([date])-1)

KMa885
Meteoro

my solution

Arran
Asteroide

Awesome

czello
Asteroide

One solution

Anee
Meteoro

Solved

mshishido
Asteroide

ez

TurboToad
Bólido

Nice and quick!

Spoiler
datetimeparse(iif(StartsWith([date], '1'),'20'+Right([date],6),'19'+Right([date],6)),'%Y%m%d')
Aravindaval
Asteroide

completed

SureshRathi
Meteoro

Solved..