I'm looking for the best way (if there is one) to show the Modified and Created columns in a list/library with the date only, so without the time. For example, instead of 1/12/2011 8:37 PM it should show 1/12/2011 only. This should not happen on the whole farm/web app/site collection/site, but only for specific lists/libraries.
Things that I thought of so far
- Adding a calculated column to the specific list/library, that takes the Modifed/Created column's value, and simply reformats to show the date only. Benefit: easy to implement. Drawback: Columns are no longer called Modified/Created. Not reusable, needs to be reimplemented each time
- create a jQuery solution that hides the time on the client side. Benefit: easily reusable, columns are still named Modifed/Created. Drawback: jQuery code reference needs to be added to each view
- update the Modified/Created column of the individual list/library to display date only through server-side code. Benefit: Columns are updated properly. Drawback: Not even sure if it's possible to update the formatting? Will the time be lost? Will sorting still work properly?
My preference is #1 at the moment, as it isn't even clear yet how large the scope if this will be (could even be just a few lists/libraries, but might end up with thousands as well).
Are there any other things I need to consider? Anything else that I haven't thought of yet?