mbuckley
-
2/14/2006 5:34:20 AM
Re: SearchResults - How to format the date
I'm not overly familiar with this particular control, but you should be able to do a toString(format) on your date binding.
For example, if you would like to have something like "January 01, 2003" you would do
.ToString("MMMM dd, yyyy")
If you are using just a regular databinder, try something like this: System.Convert.ToDateTime(DataBinder.Eval(Container, "DataItem.DateColumnNameHere")).ToString("MMMM dd, yyyy")
Hope that helps,
Mike
|