Description

Date and time data needs to be passed to the AltioLive Presentation Server in the following format from your application.

Integer Type

For the TIMESTAMP element, if the FORMAT attribute is left blank or is set to '#' then the Timestamp attribute is read "as is". For example, an attribute value of 5435 produces a timestamp of 5435. This should cater for most cases where an integer timestamp is provided. If the integer needs to be extracted from an attribute with other symbols present then the FORMAT attribute specifies how to extract an integer.

Here is a list of the special characters that can be listed in an Integer Format:

Symbol

Meaning

0

Digit

#

Digit, zero shows as absent

.

Decimal separator or monetary decimal separator

-

Minus sign

,

Grouping separator

E

Separates mantissa and exponent in scientific notation.
Need not be quoted in prefix or suffix.

'

Used to quote special characters in a prefix or suffix.
For example: "#123" with format "'#'#" produces 123

 

 

Other characters are matched literally so examples are:

Date and Time Type

Format is mandatory for a Date type.

Some examples of valid formats are:

Here is a list of the symbols that can be used in a Date Format string:

Symbol

Meaning

Presentation

Example

G

era designator

(Text)

AD

y

year

(Number)

2008

M

month in year

(Text & Number)

June & 08

d

day in month

(Number)

3

h

hour in am/pm (1~12)

(Number)

12

H

hour in day (0~23)

(Number)

22

m

minute in hour

(Number)

30

s

second in hour

(Number)

50

S

millisecond

(Number)

978

E

day in week

(Text)

Wednesday

D

day in year

(Number)

189

F

day of week in month

(Number)

2 (2nd Wed in July)

w

week in year

(Number)

27

W

week in month

(Number)

3

a

am/pm marker

(Text)

PM

k

hour in day (1~24)

(Number)

24

K

hour in am/pm (0~11)

(Number)

11

z

time zone

(Text)

Pacific Standard Time

'

escape for text

(Delimiter)

 

"

single quote

(Literal)

'