abichatline - 2007-05-21

getDate() method of DateCell for CellType.DATE, is returning one day less than the date displayed in Excel.

For example, with 5/21/2007 and 1/1/2007 displayed in Excel, getDate() returned 5/20/2007 and 12/31/2006 respectively.

Can someone please help to unravel this anomaly?