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

Convert time from 24hrs format to AM/PM

Belletmns
8 - Asteroid

Hi Team,

 

I need your help, I would like to convert my data from 24hrs format to AM/PM format.

 

Here's how Alteryx read my data:

Belletmns_0-1624353577946.png

 

Here is my desired output:

Belletmns_1-1624353647141.png

 

Attaching my sample input file.

 

Thank you in advance!

 

 

2 REPLIES 2
Jonny
11 - Bolide

Hi @Belletmns,

 

you could to use the DateTimeFormat settings for time. more here: Date Time Functions (alteryx.com)

DateTimeFormat([Time],"%I:%M %p")

Jonny_0-1624355011421.png

Jonny_1-1624355053187.png

 

see if this is what you are looking for?

 

Cheers!

 

BR/Jonny

 

 

Belletmns
8 - Asteroid

Thank you @Jonny,

Cheers!

Labels
Top Solution Authors