Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

convert todays date into the day name

cstafford
8 - Asteroid

I am looking to convert todays date into the day name. Is their a way to do this with Alteryx?

6 REPLIES 6
MarqueeCrew
20 - Arcturus
20 - Arcturus

DateTimeFormat([date],"%A")

 

 that will give you the day off the week, like Saturday.

 

 Cheers,

 

 mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
cstafford
8 - Asteroid

I think I am close, but I cannot get the day to populate; it is returning Null. See attached

MarqueeCrew
20 - Arcturus
20 - Arcturus

@cstafford ,

 

your [date] field is now a string.  If you want to know today's date,

 

DateTimeFormat(DateTimeStart(),"%A")

 

 cheers,

 

 mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
AbhilashR
15 - Aurora
15 - Aurora

@cstafford - you could use this formula instead of a two step process: 

 

DateTimeFormat(DateTimeAdd(DateTimeNow(),1,'days'),'%A')

cstafford
8 - Asteroid

Thanks!

MarqueeCrew
20 - Arcturus
20 - Arcturus

You're welcome 😀

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Labels
Top Solution Authors