It would be much easier to use COMPAREFILETIMES(). Incidentally, the KiXtart Manual does show how to accomplish the task in the original post via COMPAREFILETIMES().
_________________________
There are two types of vessels, submarines and targets.