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.
SOLVED

Writing Expressions Involving Time

christopherlee2
5 - Atom

I'm trying to write an expression using the time portion of a timestamp.  The format of the timestamp is yyyy-mm-dd hh:mm:ss.  I'm trying to write a formula to return 'True' if the time is after 6:00.   What is the best way to do this?  Do I need to trim the time portion out of the time stamp?  Thanks!

2 REPLIES 2
jdunkerley79
ACE Emeritus
ACE Emeritus

Easiest is probably just to do:

RIGHT([Time], 8) >= '06:00:00'
christopherlee2
5 - Atom

Thanks, easy enough!

Labels
Top Solution Authors