OPC Studio User's Guide and Reference
ServerTimestampDouble Property (_UADataValue)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.ComTypes Namespace > _UADataValue Interface : ServerTimestampDouble Property
The server timestamp associated with the value. In UTC, as double-precision floating-point number that contains an OLE Automation date.
Syntax
'Declaration
 
Property ServerTimestampDouble As Double
'Usage
 
Dim instance As _UADataValue
Dim value As Double
 
instance.ServerTimestampDouble = value
 
value = instance.ServerTimestampDouble
double ServerTimestampDouble {get; set;}
property double ServerTimestampDouble {
   double get();
   void set (    double value);
}
Exceptions
ExceptionDescription

One of the arguments provided to a method is not valid.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

Remarks

This property is primarily aimed at VBA in Excel, which removes the sub-seconds parts of VT_DATE values. This alternative property uses VT_R8 variant type instead, and provides a milliseconds resolution.

For more remarks, see OpcLabs.EasyOpc.UA.UADataValue.ServerTimestamp.

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

Requirements

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

See Also