Ramco Ramco

Ramco Ramco

  • 436
  • 3.4k
  • 546.2k

Subtract Days

Jul 3 2022 4:00 AM

Hi

  In below code i want if Session Status is Approved then 7 days should be subtracted from Session Date

 

<td> <asp:Literal ID="ltrlSessionDate" runat="server" Text='<%# Eval("SessionDate","{0: dd-MM-yyyy}") %>'></asp:Literal></td>

Thanks


Answers (7)