I’ve only just discovered epoch time format, would using that make the maths work?
I think DLS rules can happily convert DateTime Items to Epoch