Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Formula with 12-hour time

cayladuplooy
7 - Meteor

Hi All,

 

I am looking for a formula which will give me "Sydney" for any time something is purchased between 9pm and 9am and then give me "Paris" for anything purchased between 9am-9pm. The time column will be in 00:00:00 AM/ PM (HH:MM:SS) format and be a time data type. 

 

The time will be in 12-hour format too and have either AM or PM at the end. 

 

Thank you

1 REPLY 1
DavidP
17 - Castor
17 - Castor

Hi @cayladuplooy 

 

Something like this?

 

DavidP_0-1640131732066.png

 

Labels
Top Solution Authors