Format of selected parameters, Timestamp – absolute time, Duration – 2N Helios IP HTTP API v2.6 User Manual

Page 28

Advertising
background image

28

2N TELEKOMUNIKACE a.s., www.2n.cz

®

6. Format of Selected
Parameters

TimeStamp – Absolute Time

The absolute time parameter obeys the ISO8601 subset standard: it is set as a string
of characters in the CCYY-MM-DDThh:mm:ss format, where CC stands for the century,
YY for the year, MM for the month and DD for the day. The T character separates date
and time. hh represents hours, mm minutes and ss seconds.

Examples:

2013-05-31T13:20:00 – 31.5.2013 13:20

Duration

The duration parameter obeys the extended ISO8601 standard: it is set as a string of
characters in the PnYnMnDTnHnMnS format, where nY stands for the year count, nM
for the month count and nD for the day count. T is the date/time separator, nH gives
the count of hours, nM gives the count of minutes and nS sets the count of seconds. n
must be an integer.

Examples:

PT60S 60 seconds
P1DT12H 1 day and 12 hours

Advertising