I've been utilizing the C# FileGDB API (VS2010) for one of our projects, and it appears that there may be an obscure bug involving the Row.SetDate() function.For most of the dates in our dataset, the SetDate() function works fine. However, for one of the dates in our set (12/23/2008 12:00 AM), it throws a FileGDBException with error code -2147467259. Below is an example code snippet that will throw an exception on my machine. Here, "DATE" is an esriFieldTypeDate.
Row dateRow = table.CreateRowObject();
DateTime date = new DateTime(2008, 12, 23, 0, 0, 0, 0);
dateRow.SetDate("DATE", date);
In fact, if I try any dates in December 2008, (12/1/2008 through 12/31/2008) it will throw an exception. Dates in November 2008 and January 2009 work fine though.Can anyone else replicate this issue? Or is this isolated to my setup?Thanks for your assistance!John