Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Date and time formating....

Posted on 2005-04-06
6
Medium Priority
?
226 Views
Last Modified: 2010-04-07
How can i change this:

<%# DataBinder.Eval(Container.DataItem,"FLD_TimeStamp")%>

to show '3/30/2005' or 'April, 06 2005' instead of '3/30/2005 3:16:22 PM' ?????

Nugs
0
Comment
Question by:Nugs
  • 4
  • 2
6 Comments
 
LVL 18

Accepted Solution

by:
tusharashah earned 1000 total points
ID: 13719991
for 3/30/2005 try this one

<%# DataBinder.Eval(Container.DataItem, "FLD_TimeStamp", "{0:MM/dd/yyyy}")%>

-tushar
0
 
LVL 18

Assisted Solution

by:tusharashah
tusharashah earned 1000 total points
ID: 13720046
Or this:
<%# DataBinder.Eval(Container.DataItem, "FLD_TimeStamp", "{0:MMMM, dd yyyy}")%>

MMMM: April
dd: 06
yyyy: 2005
{dddd: Wednesday}

-tushar
0
 
LVL 2

Author Comment

by:Nugs
ID: 13720057
That worked thanks,

How do i to April 06, 2005?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 18

Expert Comment

by:tusharashah
ID: 13720146
Thats answered in my 2nd Post..:)
0
 
LVL 2

Author Comment

by:Nugs
ID: 13720163
You're the best!
0
 
LVL 18

Expert Comment

by:tusharashah
ID: 13720190
Thank you :)
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses
Course of the Month20 days, 23 hours left to enroll

810 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