Cast your vote for the official 2025 Inspire Pin! Designs were submitted by fellow Community members and reflect the creativity and passion of Alteryx users across the globe. Vote now!
if contains ([TimeDate],'AM') then if tonumber(left([TimeDate],2))= 12 then "00"+":"+Substring([TimeDate],2,2)+":00" else left([TimeDate],2)+":"+Substring([TimeDate],2,2)+":00" endif else if tonumber(left([TimeDate],2))= 12 then left([TimeDate],2)+":"+Substring([TimeDate],2,2)+":00" else tostring(12+ tonumber(left([TimeDate],2)))+":"+Substring([TimeDate],2,2)+":00" endif endif