Hi
I have a field START_TIME (datetime format), e.g.
15.06.2019 6:05
16.06.2019 8:12
17.06.2019 7:01 etc.
I would like to keep all days that are Saturdays and Sundays.
I imagine, by extracting I would receive a value like
START_TIME SAT_SUN
15.06.2019 6:05 7
16.06.2019 8:12 1
17.06.2019 7:01 2
Then I just use keep 1s and 7s, right.
How would I do that with JSL script?
I tried approaches like
dt << New Column ("SAT_SUN",numeric,format(day of week(:START_TIME),"datetime")) ;
that don't seem to work.
Any idea?
Cheers!
Newbie