Date Format String

Results 1 to 2 of 2

Thread: Date Format String

  1. #1
    Join Date
    Dec 1969

    Default Date Format String

    I created a DataGrid in code, but the date field is in ISO Sortable Standard, Does anyone know how to change the date format in a datagrid from ISO Sortable Standard to Short Date. thankyou for you time and help.

  2. #2
    Join Date
    Dec 1969

    Default RE: Date Format String

    &nbsp;<BR>This databound column definition uses the DataFormatString property to yields a short date format:<BR><BR>&#060;ASP:BoundColumn HeaderText = "Date" DataField = "rDate" DataFormatString = "{0:d}" /&#062;<BR>

Posting Permissions

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