Back to Aurora Vision Studio website

You are here: Start » Filter Reference » System » OPC UA » OPCUATimestampToTimestamp

OPCUATimestampToTimestamp


Module: FoundationLite

Converts the OPC UA DateTime timestamp value to Timestamp

Name Type Range Description
Input value inOPCUATimestamp Long OPC UA DateTime timestamp value
Output value outTimestamp Timestamp Output timestamp

Description

The OPC UA DateTime or UtcTime timestamp data types are representing the date and time point as a 64bit number of 100 nanosecond intervals since January 1, 1601. In the vision application those data types are represented by the internal Long type.

This filter allows to convert this timestamp counter into AVS-specific Timestamp type, by taking the OPC UA DateTime value on the inOPCUATimestamp input and converting it to a Timestamp on the outTimestamp output.

The value on the inOPCUATimestamp input must not be negative.

Please note that this filter does not have access to the timezone of the processed date and time. In particular, this filter does not know whether the source timestamp is in UTC or in the current (server) timezone (it is assumed to be in UTC), and it needs to be taken under consideration separately when working with the output of this filter.

For further processing, see TimestampToDateTime and FormatDateTimeToString filters.

Complexity Level

This filter is available on Basic Complexity Level.

Disabled in Lite Edition

This filter is disabled in Lite Edition. It is available only in full, Aurora Vision Studio Professional version.