Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.

Alteryx Designer Desktop Discussions

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

Multiple field format Changes String to date

Vyx
7 - Meteor

Hi All,

 

I have multiple date fields that are currently appearing as string fields - I can't use the select tool to convert the fields into date format unfortunately so wanted to ask if anyone knows of a way to change multiple fields into date format without having to add multiple date time tools to change the format from string to date? 

 

Appreciate all your help in advance! 

 

Kind Regards,

Vyx

2 REPLIES 2
binuacs
20 - Arcturus

@Vyx use the DateTimeParse function to change string to date 

 

Spoiler
binuacs_0-1640272471435.png

 

AngelosPachis
16 - Nebula

Ho @Vyx ,

 

The fastest way is to use a multi-field formula, assuming all date fields are written in the same format (i.e. all are year/month/date)

 

In the below example, my date fields are given in this format

AngelosPachis_0-1640273720931.png

 

With the multi-field formula tool, I can select which string fields I want to configure, change the output type to date and use an expression that will apply to all 3

 

AngelosPachis_1-1640273774917.png

 

Hope that helps,

Angelos

 

Labels