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