SyntaxFix
Write A Post
Hire A Developer
Questions
We can use the below its very simple.
Date.ToString("yyyy-MM-dd");