earth_america
user_standard Log on
action_search_stroke
earth_america
Log on to rate and give feedback 1 2 3 4 5 Log on to rate
0
Concept

Concept


Products: Automation Server, AS-B, Enterprise Central, Enterprise Server, AS-P, Project Configuration Tool
Functionalities: Alarms
Product version: 2.0, 2.1, 3.0, 3.1
2/22/2022

Date and Time Formatting 

You can customize how date and time are presented in a notification text or a notification report text.

Example:

Time: @(TimeStamp:%a %m-%d-%y) => Time: Tue 12-02-15

Table: Date and Time Formatting (The table uses the example time: 2015-09-22 – 07:11:00)

Format specifier

Description

Example

%a

Abbreviated weekday name.

Tue

%A

Long weekday name.

Tuesday

%b

Abbreviated month name.

Sep

%B

Full month name.

September

%d

Day of the month as decimal 01 to 31

22

%j

Day of year as decimal from 001 to 366 for leap years, 001 - 365 for non-leap years.

265

%m

Month name as a decimal 01 to 12.

09

%U

The week number of the current year as a decimal number, range 00 to 53, starting with the first Sunday as the first day of week 01. In 2005, Jan 1st fell on a Saturday, so it fell within week 00 of 2005 (week 00 spans 2004-Dec-26 to 2005-Jan-01. This also happened to be week 53 of 2004).

38

%w

Weekday as decimal number 0 to 6.

2

%W

Week number 00 to 53 where Monday is first day of week 1.

38

%x

Implementation-defined date format from the locale.

09/22/15

%y

Two-digit year.

15

%Y

Four-digit year.

2015

%f

Fractional seconds are always used, even when their value is zero.

000000

%H

The hour as a decimal number using a 24-hour clock (range 00 to 23).

07

%I

The hour as a decimal number using a 12-hour clock (range 01 to 12).

07

%M

The minute as a decimal number (range 00 to 59).

11

%p

Either `AM' or `PM' according to the given time value, or the corresponding strings for the current locale.

AM

%R

The time in 24-hour notation (%H:%M).

07:11

%s

Seconds with fractional seconds.

00.000000

%S

Seconds only.

00

%T

The time in 24-hour notation (%H:%M:%S).

07:11:00

%Q

Offset from UTC.

+2H, -9H

  • Notifications
  • Notification Reports
  • Creating an Alarm Triggered Notification
  • Configuring an Alarm Triggered Notification 
  • Creating a Variable Triggered Notification
  • Configuring a Variable Triggered Notification
  • Alarm Triggered Notification Properties - Basic Tab
  • Alarm Triggered Notification View
  • Variable Triggered Notification Properties - Basic Tab
  • Variable Triggered Notification View
  • Creating a Notification Report Template
  • Configuring a Notification Report Template
  • Notification Report Template Properties - Basic Tab
  • Notification Report Template View
  • Text Formatting