Date Calulation
We are using the following "formula" to "calculate" the "Sale of Yesterday" (day before Today),
"Formula:"
VA rpt_FromThimYestrdy_IVD = add_days(date_today(),-1)
it is working "fine" for "whole Month",
but at the "1st day of the next month",
it will not "calculate" the "sale" of the "Last day" of the "Last Month".
for example
(01-Mar-2017 minus 28-Feb-2017) = 0 is showing only for the "1st day of march" it will show the "yesterday (28th Feb) sale" as 0,
Somebody can help us?
Thanks,