<p>Hi all,</p>
<p>firstly I am sorry for these multiple question in the last two weeks, really under pressure;</p>
<p>I wander if someone can help me to figure out this logic, I have used it a few years ago but I cant just figure it out today

</p>
<p>I have this logic from older reporting tool (crystal report)</p>
<p><strong>if (DayOfWeek ({date}) =6 then {date}</strong></p>
<p><strong>else </strong></p>
<p><strong>{date}+5- (DayOfWeek {(date}) +1</strong></p>
<p>want to use BIRT function to do the same,</p>
<p> </p>
<p>thanks for your help in advance</p>