SYS_GET_TIMESTAMP - Return the current date and time

Help Contents

Introduction

Returns the current date and time as a DATE_AND_TIME value.

Informal and Formal Syntax:

SYS_GET_TIMESTAMP()

Parameters

None

Return Value

The value returned is the current date and time as a DATE_AND_TIME value.

Examples

ExampleReturn Value
SYS_GET_TIMESTAMP()DT#2018-01-11-12:00:00.000

Standards Compliance

The function SYS_GET_TIMESTAMP is an extension to the IEC 61131-3 standard.

Further Information

System Functions

To learn about other system functions.

Elementary Data Types

To learn about the different types supported by Fernhill SCADA.

Common Elements

To learn about other IEC 61131-3 Common Elements.

Glossary

For the meaning of terms used in Fernhill SCADA.