You are here: Core Reference > Coding > Logic > Time and Date Types

Time and Date Types

There are 4 types of time and date value:

Time and Date Type

Bits

Purpose

TIME

Varies

Use to store an amount of time that begins after an event takes place. For example, use TIME to store a timeout that occurs when plant is in a specific state.

The time is stored as days, hours, minutes, seconds, and milliseconds.

DATE

Varies

Use to store a calendar date.

TIME_OF_DAY (or TOD).

Varies

Use to store a time (real time clock). TIME_OF_DAY is also be referred to as TOD.

DATE_AND_TIME (or DT)

Varies

Use to store the date and time of day (real time clock)

When you define a time and date value, you need to use a specific format (see Time and Date Formats).


ClearSCADA 2015 R2