Reimplement time check for VMS to mimic the way it's done on Windows. Reason: gettimeofday() is deprecated.