(SQR 4045) Function or operator ‘dateadd’ requires date
(SQR 4045) Function or operator ‘dateadd’ requires date argument. The above error will show up if you use dateadd function in SQR and didn’t declare the variable as date. use the following example.
declare-variable
date $sunday
end-declare
….let $date1 = dateadd($sunday,’minute’,1)