SysGetDate: Return the current date

Help Contents

Introduction

Returns the current date as a DATE value.

Syntax

Informal and Formal Syntax:

SysGetDate()

Parameters

None

Return Value

The value returned is the current date as a DATE value.

Remarks

Requires Fernhill SCADA Version 3.19 and later.

Examples

ExampleReturn Value
SysGetDate()D#2018-01-11

Standards Compliance

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

Further Information

Date and Time Functions

To learn about functions that use date and time values.

Date and Time Literals

To learn about declaring constant date and time values.

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.