Date Time format .NET inline code

How could I replace this to get the date in yyyy-MM-dd format

<%= DateTime.Now.ToString() %>
Who is Participating?
Manoj PatilConnect With a Mentor Sr. Software EngineerCommented:
abhinayp86Connect With a Mentor Commented:
baxtaloAuthor Commented:
Thank you
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.