<< back to sysax.com Product page

4.8. Making allowances for Time Variations

The SetTimeSkew method sets the margin error in seconds when comparing based on date. Files will be considered identical if the difference in time between them is less than the skew time value. This is useful when comparing between files and folders that may be a few seconds off due to system conditions.

Exhibit 4.15. IDL Definition of method for making allowances for Time Variations


HRESULT SetTimeSkew ([in] UINT n_skewseconds);


Exhibit 4.16. Example usage of method for making allowances for Time Variations (VBScript)


app.SetTimeSkew 2