Atozed Forums
TIWjQDBGrid DateFormat - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: TIWjQDBGrid DateFormat (/thread-5282.html)



TIWjQDBGrid DateFormat - troberts - 06-27-2025

How can I format a date in the grid? I've tried different values in the DateFormat property but they don't have any effect. The field the column is connected to is of type DateTime.

Also the format displayed varies between browsers. In some browsers it displays as d/m/y, and in others m/d/y. I suspect this is a browser settings. But I would rather control the format myself than depend on a settings in the browser.


RE: TIWjQDBGrid DateFormat - gabrielka45 - 01-14-2026

Have you tried using a JavaScript solution to explicitly format the date before it gets displayed in the grid? That way, you can control the format yourself, regardless of the browser.