User-719153870 posted
Hi neerajkumarmodi,
with dates in the format (YYYY-MM-DDT00:00:00 ), need to convert this to YYYY/MM/DD.
Please check DateTime.ToString Method and you will find it's actually very easy to use .tostring() method to convert datetime format to whichever
you want.
Check below code:
dt.ToString("yyyy/MM/dd")
This will output your dt as like 2020/01/21(YYYY/MM/DD).
Best Regard,
Yang Shen