Node Red Switch Node usage

I am coming to a Switch Node with 3 msg. All of them are timestamp of a
Start DateTime, End DateTime and Current DateTime.
I am trying to write a Switch code if the( Start < Current < End).
How should I code this in 1 line with 2 output True / False, second one being Otherwise

I found a solution

Using a Switch node, Setting Property : j: expression with
(start <= current /1000 ) and ( current/1000 < end )
And setting the following condition
Is true => 1
Is false => 2