Hi
In below code i want if Session Status is Approved then 7 days should be subtracted from Session Date
Thanks
Hi
In below code i want if Session Status is Approved then 7 days should be subtracted from Session Date
Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sachin SinghRank #66 · 26.2K reputationPosted Jul 3, 2022, 2:38 AM EDT
Ramco RamcoRank #462 · 5.4K reputationPosted Jul 3, 2022, 1:52 AM EDT
Jaydeep PatilRank #205 · 11.7K reputationPosted Jul 3, 2022, 1:41 AM EDT
Hi,
Check the below URL and try to fit that into your c# code I think that will solve your problem
https://stackoverflow.com/questions/11151976/subtract-days-from-a-datetime
Also, if you provide your backend code detail in that case I will suggest more ways for that.
Regards,
Jaydeep
Jaydeep PatilRank #205 · 11.7K reputationPosted Jul 3, 2022, 2:08 AM EDT
td> .Today.Subtract(...use something like thisRamco RamcoRank #462 · 5.4K reputationPosted Jul 3, 2022, 2:14 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Jul 3, 2022, 2:24 AM EDT
Ramco RamcoRank #462 · 5.4K reputationPosted Jul 3, 2022, 2:28 AM EDT