ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. 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