Solved

Date Time format .NET inline code

Posted on 2012-03-16
3
346 Views
Last Modified: 2012-03-16
How could I replace this to get the date in yyyy-MM-dd format

<%= DateTime.Now.ToString() %>
0
Comment
Question by:baxtalo
3 Comments
 
LVL 19

Accepted Solution

by:
Manoj Patil earned 250 total points
ID: 37730893
0
 
LVL 9

Assisted Solution

by:abhinayp86
abhinayp86 earned 250 total points
ID: 37730894
<%=DateTime.Now.ToString("yyyy-MM-dd")%>
0
 

Author Closing Comment

by:baxtalo
ID: 37731523
Thank you
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ASP.NET e-commerce website 4 58
what technologies offer Authentication over Web Services? 4 105
Asp.net mvc 5 5 43
SQL Login 17 40
I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now