Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.

Alteryx Designer Desktop Discussions

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

Convert 12 hour to 24 hours

SherryShen
6 - Meteoroid

Hi ,

 

I am trying to convert "17-May-2021 01:03:47 PM"  to date/ time format, but stuck with converting PM to 24 hours format.  Ideally, I am looking for format like "2021-05-17 13:03:47".

 

Is there anyway can achieve this?

 

Big thanks in advance.

 

Sherry

3 REPLIES 3
HW1
9 - Comet

There you go.

 

HW1_0-1621304239020.png

 

Qiu
21 - Polaris
21 - Polaris

@HW1 
I use the DateTimeParse function.

Capture1.PNG

SherryShen
6 - Meteoroid

thanks a lot.  It works!

Labels