sql.timestampadd( $dateTimeType as xs.ID, $value as Number, $timestamp as String ) as Number?
Returns a xs:string? timestamp created by adding a number to the given dateTimeType field of a given timestamp.
sql.timestampadd('SQL_TSI_DAY', 2,'2009-05-18T03:03:03') => |ANON7761991471377004207| |2009-05-20T03:03:03|
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.