Is there a way to format the datetime in a datagrid? My datetimes are showing
up as: 'Tue Dec 7 09:44:30 GMT -0500 2004' Basically I just want 'Tue Dec 7
14:44:30 2004' or whatever datetime I specify. Is there a way to easily
format the time? I'm using a datagrid with flash remoting + asp.net. Thanks.
justin.culp - 14 Dec 2004 22:08 GMT
I ran into this same issue a while back. Here's the solution..... Create a
dataset to hold the information from the webservice connector. In the schema
of the dataSet, add your dateTime field by clicking the larger of the two plus
signs (so technical!!) Select date as the data type. Go to the formatter
field and select Date. Then in formatter options (right below) double click
and key in your mask, ie. MM/DD/YYYY Then hook your datagrid to the dataset
instead of directly to the webservice connector. That is it, you're golden