Replace some dateutils, remove to seconds because it's unused

This should give a much faster toDays and a more predictable minus days...

Also ditches toSeconds
Indentation /superdupernit