|   | TicksTimeIsValid(Ticks, Double, Double) Method | 
        
        
            Determines if time, represented by 
Ticks value, is valid by comparing it to the specified
            current time.
            
 GSF.Core (in GSF.Core.dll) Version: 2.4.257-beta+00aa2366fbb9ec75f636ebc7cfa610e3826a727c
 Syntax
Syntaxfunction TimeIsValid(currentTime, lagTime, leadTime);
Parameters
- currentTime  Ticks
- Specified current time (e.g., could be DateTime.Now.Ticks).
- lagTime  Double
- The allowed lag time, in seconds, before assuming time is too old to be valid.
- leadTime  Double
- The allowed lead time, in seconds, before assuming time is too advanced to be valid.
Return Value
BooleanTrue, if time represented by 
Ticks value, is within the specified range.
 Exceptions
Exceptions Remarks
Remarks
            Time, represented by 
Ticks value, is considered valid if it exists within the specified
            
lagTime and 
leadTime range of 
currentTime. Note
            that 
lagTime and 
leadTime must be greater than zero, but can be set
            to sub-second intervals.
            
 See Also
See Also