aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/doc/codesnippets/doc/src/snippets/patternist/literalsAndOperators.xq
blob: ec4af33ba1b7859014f7317db69f4ee28ddb147e (plain)
1
2
declare variable $date := fn:current-date(); (: This line should not be part of the example. It exists in order to make the query valid. :)
fn:current-date() - $date > xs:dayTimeDuration("P365D")