QuickOPC User's Guide and Reference
IsValidTimeWeakLocal Method (DAUtilities)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess Namespace > DAUtilities Class : IsValidTimeWeakLocal Method
The local time to be tested.
Determines whether a given local time value is weakly valid in OPC Data Access.
Syntax
'Declaration
 
<PureAttribute()>
Public Shared Function IsValidTimeWeakLocal( _
   ByVal time As Date _
) As Boolean
'Usage
 
Dim time As Date
Dim value As Boolean
 
value = DAUtilities.IsValidTimeWeakLocal(time)
[Pure()]
public static bool IsValidTimeWeakLocal( 
   DateTime time
)
[Pure()]
public:
static bool IsValidTimeWeakLocal( 
   DateTime time
) 

Parameters

time
The local time to be tested.

Return Value

true if time is a valid time; false otherwise.
Remarks
Time must be local, or it must be of unspecified kind.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2012, Windows Server 2016; .NET Core, .NET 5, .NET 6: Linux, macOS, Microsoft Windows

See Also

Reference

DAUtilities Class
DAUtilities Members