Many thanx to @Kebel871 Works with offsets also.
Here’a what I do for this. This will fire at the earliest of 4pm or 3 hrs before sunset.