DateTime Format Help

Aitmanga

Newcomer
Joined
Mar 12, 2004
Messages
23
Location
Mexico
Hello

I'm having trouble with formating a date using late binding and SqlServer.

I've been using:
Code:
<%# DataBinder.Eval(Container.DataItem, "registerDate","dd/MM/yyyy") %>

So that it only displays the date w/o the time, but I only get this:

dd/MM/yyyy

instead of this:
25/03/2004

Any help is greatly appreciated
 
Back
Top