Factorytalk historian time string examples – Rockwell Automation FactoryTalk Historian SE DataLink 4.2 User Guide User Manual

Page 96

Advertising
background image

FactoryTalk Historian DataLink User Guide

88

When using FactoryTalk Historian times, follow these guidelines:

Use absolute or combined time expressions. Avoid using relative time
expressions. Multiple relative time expressions in a time range may
cause an incorrect start time or an error message, depending on the
context of the expression.

Relative and combined time expressions contain only a single
operator: either a single plus sign (+) or a single minus sign (-).
Additional operators can lead to unpredictable results. For example,
the following are not valid time expressions:

*+1d+4h

T-1d+12h

The name or short name for an interval used to denote FactoryTalk
Historian time is not case-sensitive.

FactoryTalk Historian Time String Examples

Time Syntax Examples

PI Time String

Meaning

06-dec-91 15:00:00

3:00:00 pm on December 6, 1991

*

Current time (now)

25

00:00:00 (midnight) on the 25th of the
current month

25-aug-92

00:00:00 (midnight) on August 25th, 1992

8:

08:00:00 on the current date

25 8:

08:00:00 on the 25th of the current month

t

00:00:00 on the current date (today)

y

00:00:00 on the previous date (yesterday)

sun, mon, tue, wed, thu, fri, sat

00:00:00 on the most recent Sunday,

Monday, ... Saturday

Advertising