Forum Discussion
KevinJan
4 years agoRegular Visitor
Determine Shift based on TimeStamp
Hi All, I need help to determine the shift based on the time stamp of my data set. Day Shift = 6:00:00 AM to 6:00:00 PM Night Shift = 6:00:00 PM to 6:00:00 AM (the next day) Any help...
mh2587
4 years agoSuper User
column=
VAR _A =
TIME ( 6,00,00 )
VAR _B =
TIME ( 18,00,00 )
RETURN
IF (
[Time Coulmn] >= _A
&& [Time Coulmn] <= _B,
"Day Shift","Night Shift" )