Date parsing

C

Chumley the Walrus

I'm trying to display a date from my sql database, but when I use a
repeater control as follows:

<ASP:Repeater id="thedata" runat="server">
<itemtemplate> <%# Container.DataItem("ArticleDate")%>
</itemtemplate></ASP:Repeater>

the date displayed shows 6/24/2004 12:00AM, whereas i dont want to
show the 12:00AM. Using <%#
Container.DataItem("ArticleDate").ToString("F")%> gives me a 'Public
Overridable Function ToString() As String' error


????
Chumley
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,054
Members
48,769
Latest member
Clifft

Latest Threads

Top