It is a date time field. The Department's start time is 11:00PM. So for the instance of "Yesterday", I would use:
Case "Yesterday"
if dateadd("h",-7,datetime(dtstodate({table.datestring}),timevalue({table.timestring))) = Currentdate -1 then
formula = 1
else
formula = 0
??
If so...
I'm trying to create a selection date formula for a specific department that operates from 11:00PM to 7:00AM. i currently have this selection formula:
select case {?Relative Date}
case "None"
if DTSToDate ({table.date}) in {?StartDate} to {EndDate} Then
formula = 1...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.