|
Rank: Member Groups: Member
Joined: 1/6/2008 Posts: 13
|
Hi,
I want to display the Date and Time format in Grid Control. The format should be of type "MM/DD/YYYY HH12:MI:SS AM". I am only able to see the Date part but not the time part.
Please let me know how to get both Date and Time format.
Regards, Sunil R
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Have you tried setting the column's DataFormat?
|
|
Rank: Member Groups: Member
Joined: 1/6/2008 Posts: 13
|
I have set the DataFormat = "{0:dd/MM/yyyy hh:mm:ss tt}". I tried the same with StaticColumn, DateTimeColumn and TextBoxColumn. But i am not able to see the time part of it in any of the specified columns.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
First check whether you have the latest version. The latest version supports time part but not "tt". Also check the width of the column. The default width is too short for you to see the time part. Resize it and you should be able to see it.
Thanks
|
|
Rank: Member Groups: Member
Joined: 1/6/2008 Posts: 13
|
Hi,
I increased the width of the column and was able to see the time part now. Can you let me know if you are planning to support the "AM" or "PM" time part.
Regards
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Yes. It will be ready with our next build.
|
|