TeaAddictedGeek
Programmer
I'm trying to get just the time value from a BoundColumn in a DataGrid. Usually the expressions are like this:
DataFormatString="{0:d}"
Which would get me the short date. But what if I just want the time part of the DateTime? As in, hours and minutes?
Thanks!
"The computer programmer is a creator of universes for which he alone is responsible. Universes of virtually unlimited complexity can be created in the form of computer programs."
-Joseph Weizenbaum
DataFormatString="{0:d}"
Which would get me the short date. But what if I just want the time part of the DateTime? As in, hours and minutes?
Thanks!
"The computer programmer is a creator of universes for which he alone is responsible. Universes of virtually unlimited complexity can be created in the form of computer programs."
-Joseph Weizenbaum