Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

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