_add_seconds
Returns the timestamp with time zone (as a string) that results from adding "integer_expression" number of seconds to "string_expression", where "string_expression" represents a timestamp with time zone.
Syntax
_add_seconds ( string_expression , integer_expression )
Example 1
# _add_seconds ( '2005-11-01 12:00:00.000-05:00' , -1 ) #
Result
2005-11-01 11:59:59.000-05:00
Example 2
# _add_seconds ( $current_timestamp , 1 ) #
Result
2005-11-01 12:00:01.000000000-05:00
Example 3
# timestampMask ( _add_seconds ( $current_timestamp , 1 ) ,
'hh:mm:ss' ) #
Result
12:00:01