Article View: borland.public.cppbuilder.database.ado
Article #1218Formatting Date/Time Fields in DBgrid
From: LeMar Longhurst
Date: Wed, 22 Sep 2004 11:19
Date: Wed, 22 Sep 2004 11:19
6 lines
1150 bytes
1150 bytes
I am working on a project that uses an Access 97 Table. I display it in a DBgrid control. There are several of the fields that contain times and dates. How do I format the field in the DBgrid to show just the time or date and not the whole DateTime value. The whole value makes the difficult to work with. Thanks in advance llonghur
Technical Details
Message-ID:
<41515fcd$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10698b,fc0ac9717cf62093,start X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit From: "LeMar Longhurst" <llonghur@sbcglobal.net> Sender: "LeMar Longhurst" <llonghur@sbcglobal.net> Reply-To: "LeMar Longhurst" <llonghur@sbcglobal.net> Subject: Formatting Date/Time Fields in DBgrid Newsgroups: borland.public.cppbuilder.database.ado X-User-Info: 68.90.164.36 NNTP-Posting-Host: 207.105.83.66 Message-ID: <41515fcd$1@newsgroups.borland.com> Date: 22 Sep 2004 04:19:41 -0700 X-Trace: newsgroups.borland.com 1095851981 207.105.83.66 (22 Sep 2004 04:19:41 -0700) Lines: 6 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail