In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
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