Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
numberVar datediff1 := DateDiff ("d", {dateField}, currentdate());
numberVar datediff2 := DateDiff ("d", next({dateField}), currentdate())
if (datediff2 < datediff1) then
datediff2
else
datediff21
select min(abs(DATEDIFF(DAY, datum, getdate()))) from dbo.Table1
minimum(abs(DATEDIFF(d, {datum}, currentdate()))) = {datum}