Date format problems
I wish to format dates in a grid using data rendered as xml by castor.
I'm using the following with AW 2.0:
grid.setCellFormat(dateFormat, colNum);
dateFormat.setTextFormat("dd-mmm-yy");
dateFormat.setDataFormat("ISO8601");
I'm getting '#ERR' in the column. I wondered if it could be due to the fact that the date strings seem to be missing the zone designators (eg. a trailing "+1:00"). Here is an example:
2006-05-16T09:50:44.000
I also saw an example which used the (erroneous) "ISO8061". I tried this but it did not work.
Can anyone advise me?
Regards,
Cal
I'm using the following with AW 2.0:
grid.setCellFormat(dateFormat, colNum);
dateFormat.setTextFormat("dd-mmm-yy");
dateFormat.setDataFormat("ISO8601");
I'm getting '#ERR' in the column. I wondered if it could be due to the fact that the date strings seem to be missing the zone designators (eg. a trailing "+1:00"). Here is an example:
2006-05-16T09:50:44.000
I also saw an example which used the (erroneous) "ISO8061". I tried this but it did not work.
Can anyone advise me?
Regards,
Cal
May 25,