Filter DataTable - Date Format

How do I get a value for this date format.

Example: 06/04/20

now.AddDays(1).ToString(“mm/dd/yy”)

Tried doing this but it’s not working.

image

@prititit What is the ring variable type?
And I think you should use it like this :
now.AddDays(1).ToString(“MM/dd/yy”)

@prititit

mm - is the Minutes

MM - will the Month

so change it as now.AddDays(1).Tostring(“MM/dd/yy”)

Hope this helps

Thanks

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.