Factorytalk historian time string examples – Rockwell Automation FactoryTalk Historian SE ActiveView 3.2 User Guide User Manual

Page 31

Advertising
background image

2

For End Users: Viewing FactoryTalk Historian Data with FactoryTalk Historian ActiveView

23

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

*-1h

One hour ago

t+8h

8:00:00 am today

y-8h

4:00:00 pm on the day before yesterday

mon+14.5h

2:30:00 pm last Monday

Advertising