I want to set a value of a variabel $var based on the time of day
eg
if time is between 10:00pm and 9:00 am
set $var = "foo"
if time is between 9:00 am and 7.00pm
set $var = "bar"
if time is between 7.00pm and 10.00pm
set $var to "foobar"
how do i do this with the timestamp function?
many thanks
craig