Available for: Content Management Server
Task: The procedure adds a period of time to a date given in canonical format.
Syntax:
incrNpsDate date offset
Function parameters:
date
is the date as a sequence of 14
digits.offset
is a string containing a relative
time specification which consists of an integer number followed by one of
the following words: year
, fortnight
,
month
, week
, day
,
hour
, minute
(or min
),
second
(or sec
). The word can be specified as a
singular or plural.Return value if successful: the calculated absolute date in canonical form (string).
Necessary permissions: none.
Example:
CM>incrNpsDate 20110402091300 "-3 months" 20110102091300