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

Alteryx Designer Desktop Discussions

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

Trouble converting mmddyyyy string to date accurately. Month is inaccurate.

wonka1234
10 - Fireball

Hi,

 

What am I doing wrong here.

 

I have the string 07252023  trying to convert it to date format.

I mam using the DateTime Tool.  String to Date format , Custom "mmddyyyy" and it is returning "2023-01-25 00:07:00".

 

why is the month wrong here?

3 REPLIES 3
DataNath
17 - Castor
17 - Castor

Hey @wonka1234 - check out the Custom Format section here: https://help.alteryx.com/20231/designer/datetime-tool - the specifiers are slightly different for the DateTime tool so you'd actually want to be using MMddyyyy, with the capital MM. 'mm' here is minutes.

wonka1234
10 - Fireball

@DataNath  AH **bleep**! Im such A FOOL!!! thanks.

ChrisTX
16 - Nebula
16 - Nebula

for month use capital M

 

seems to be the opposite of the DateTime functions DateTime Functions | Alteryx Help

 

 

Chris

Labels