Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

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
Managing Partner
DCG Analytics
Amy18
8 - Asteroid

Thanks.

The DateTimeFormat function works.

Labels
Top Solution Authors