format date in repeater
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
i have a repeater control and am trying to format a date like so, <%# DataBinder.Eval( Container.DataItem, "WorkDate", "{MMM d, yyyy}" ) %> WorkDate is a DateTime in sql server 2000. the formatting option doesn't do anything - the date is always displayed like '10/20/2004 7:55am' what am i doing wrong??? thanks.