In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Make sure to check your account preferences in my.alteryx to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

DateTime Formatting

dmill8023
6 - Meteoroid

Hello all!  I have multiple data fields that I am looking to format to ISO format.  Below are two mocked fields that contain dates I'm looking to format into the ISO format.  Any help here would be appreciated!

 

They are currently defaulting to V_String date type.

 

Date Opened:  5/10/2022 2:52:00 AM

Entry Date:  5/10/2022 4:46:00 PM 

4 REPLIES 4
DataNath
17 - Castor
17 - Castor

DateTimeParse([FieldName], ‘%d/%m/%Y %I:%M:%S %p’) 

Should do the trick, replacing ‘FieldName’ with the column you need to apply it to!

ChrisTX
16 - Nebula
16 - Nebula

Try the DateTime tool with this custom format:

 

%m/%d/%Y %I:%M:%S %p

 

Documentation:  https://help.alteryx.com/20221/designer/datetime-functions

 

The DateTimeParse function in a Multi-Field tool would also work.

 

 

ChrisTX_0-1654629703077.png

 

 

Chris

CathyS_Slalom
9 - Comet

Hi @dmill8023, you can use the DateTimeParse function:

CathyS_Slalom_0-1654629832350.png

 

dmill8023
6 - Meteoroid

Thank you everyone for the suggestions!  I tried both the DateTimeParse function as well DateTime tool and got the solution I was looking for!

Labels
Top Solution Authors