I am trying to format dates in HTML cfgrid. I cannot get it to work in CF when using HTML as the grid type. I also tried to do this in MSSQL using - CONVERT (VARCHAR (10), startDate, 101) AS startDate.
When I do this, it is displayed right in the grid, but the grid will not sort by date properly.
I understand why converting it to varchar spins sorting, but I can't get this to work in either CF or SQL.
Does anyone know a way to make it appear in the grid in the format mm / dd / yyyy, and also correctly sort the date?
source share