Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Date time format military time to class room time

DeepakKrish
7 - Meteor

Hi All,

 

I have an one date field in my table it showing the time in military time format like 2018-04-01 18:50:18 but my requirement is I need to convert this to class room time format.

 

O/p should be: 2018-04-01 6:50:18 PM

 

If you have any ideas please help me to resolve this.

 

Thanks,

Deepak.

3 REPLIES 3
ivoller
12 - Quasar

Try DateTimeFormat([Date],"%Y/%m/%d %I:%M:%S %p")

 

See attached

LordNeilLord
15 - Aurora

Hey @DeepakKrish

 

You can use the follow format: %Y-%m-%d %I:%M:%S %P either in the formula tool (dateTimeFormat) or in the dateTime tool

 

This webpage is really helpful https://help.alteryx.com/9.5/Reference/DateTimeFunctions.htm

 

dtParse.PNG

DeepakKrish
7 - Meteor

Thanks It's working..

Labels
Top Solution Authors