I would say at a guess that your Oracel DB is running on a different machine, with different locale settings. The date format should be set by the locale. Either way, you can build a DateTime from each value, and then compare them. Christian Graus - Microsoft MVP - C++