Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

DateTime function

Amy18
8 - Asteroid

Hi there,

 

I would like to create a variable showing the date of today in 052518 format. 

i chose two function, DateTimeToday() and DateTimeParse(d,f). But I got an error message like below. 

 

expression: DateTimeParse(DateTimeToday(),%m%d%y)

error: Malformed Function Call

 

Can you help me? Thanks.

2 REPLIES 2
Treyson
13 - Pulsar
13 - Pulsar

Hello @Amy18

 

You are trying to use datetimeparse. You want to use datetimeformat. See Attached.

Treyson Marks
Senior Analytics Engineer
Amy18
8 - Asteroid

Thanks.

The DateTimeFormat function works.

Labels