thanks so much for the help @MutedJam
this took me down a whole rabbit hole, and I ended up with a quite long workflow and another problem.
ERROR: The value "undefined" is not a valid DateTime just when I came to my final IF statement…
Not sure if I need so many merge nodes etc.