Hi there,
I want to return a value of “Morning news” when the time from a live date falls between 5AM and 9AM.
This needs to be irrespective of date, so I made a field that parses the time from the live date field.
Currently I’ve got:
IF(AND(VALUE(DATETIME_FORMAT({ADMIN - Time},‘Hmmss’)) <90100, VALUE(DATETIME_FORMAT({ADMIN - Time},‘Hmmss’)) >45900), “Morning news”, “Other”)
But that’s returning an error. I tried it without the Value parameters too.