I want to compare the date coming from the data from a json file and with todays date. The data coming from json for example 17-07-2020 00:00:00 datetime value without time in it . how can I check with if condition whether the date is todays date
or not . I given the code as below but not working please help. DateTime.Now has time so that condition is failed
Member
414 Points
1339 Posts
If condition with date is not working in html
Jul 16, 2020 05:02 AM|polachan|LINK
I want to compare the date coming from the data from a json file and with todays date. The data coming from json for example 17-07-2020 00:00:00 datetime value without time in it . how can I check with if condition whether the date is todays date or not . I given the code as below but not working please help. DateTime.Now has time so that condition is failed