Hi Experts,
I have a formula with 2 parameters like {?Start Date} and {?End Date} till now we were manually selecting time for these parameters. Now i need to schedule this report over mail and i need to dynamically set the time for these parameter.
i need to set the dynamically set time to previous day like below.
{?Start Date} like "15/10/2014 00:00:00" and {?End Date} like 15/10/2014 23:59:59 considering today is 16 October.
Below is full formula, please help me.
(
(dateadd("n",330,{PROBSUMMARYM1.DOWNTIME_START}) >= {?Start Date} and dateadd("n",330,{PROBSUMMARYM1.DOWNTIME_START}) <= {?End Date})
or
(dateadd("n",330,{PROBSUMMARYM1.DOWNTIME_END}) > {?Start Date} and dateadd("n",330,{PROBSUMMARYM1.DOWNTIME_END}) < {?End Date})
or
(dateadd("n",330,{PROBSUMMARYM1.DOWNTIME_START}) < {?Start Date} and dateadd("n",330,{PROBSUMMARYM1.DOWNTIME_END}) > {?End Date})
)