I have a dynamic BoundField (for a DetailsView) with the following code:
BoundField bf1 = new BoundField(); bf1.DataField = \"CreateDate\"; bf1.DataFormatStr
The following links will help you:
In Client side design page you can try this: {0:G}
OR
You can convert that datetime format inside the query itself from the database: