Hello Curious,
Use DateTime format structures
http://msdn2.microsoft.com/en-us/library/8kb3ddd4.aspx
which helps u to set the desired format of dateTime
---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog:
http://spaces.live.com/laflour
Team blog:
http://devkids.blogspot.com/
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
CHi,
C>
CI have a column in a grid defined as DateTime type.
C>
CCurrently, it's displayed in the format of "5/23/2007", for an
Cexample. It seems that it's using the default "short date" format.
C>
CI want to use the format of, for an example, "5/23/2007 12:35:58 PM",
Cto include hour/minute/second. Anyone can advise me on how to change
Cthe format?
C>
CThanks!
C>