Date display problem

Results 1 to 2 of 2

Thread: Date display problem

  1. #1
    Join Date
    Dec 1969

    Default Date display problem

    I am pulling dates back from SQL Server and displaying it in a label control within a datagrid. The date is displyed as 01/01/2004 00:00:00, is there a way to display the date without the 00:00:00<BR><BR>Thanks

  2. #2
    Join Date
    Dec 1969

    Default RE: Date display problem

    &#060;%# DataBinder.Eval(Container.DataItem, "DateField", "{0:dd-MMM-yyyy}") %&#062; for 08-APR-2004<BR><BR><BR>Or {0:MM/dd/yy} for 4/8/2004

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts