Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v6.0
  HXTT Cobol v3.0
  HXTT DBF v6.0
  HXTT Excel v5.0
  HXTT Paradox v6.0
  HXTT Text(CSV) v6.0
  Buy Now
  HXTT XML v2.0
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
Heng Xing Tian Tai Ltd. of Beijing City (abbr, HXTT)

Conversion of date in wrong format
Remco Schoen
2009-11-09 05:01:32.0

If I have a date like '01-28-1900' and use the parameter dateFormat=MM-dd-yyyy, then the driver doesn't recognize it as a false date and returns the date '1902-04-01'. I would expect an exception, that it can not convert the string to a date.

With kind regards,

Remco Schoen
Re:Conversion of date in wrong format
HXTT Support
2009-11-10 05:25:29.0
Checked. The latest package added date verification, and will throw an exception like "Value 1902-04-01(row 2, column ddmmyyyyFormat) is not DATE type".
Re:Re:Conversion of date in wrong format
Remco Schoen
2009-11-11 06:43:06.0
I can confirm this works now like expected.

I had to rewrite a lot of tests, but that is a little price to pay for such a convenient functionality! Great job!

Search Key   Search by Last 50 Questions


Copyright © 1999-2017 Heng Xing Tian Tai Ltd. of Beijing City. | All Rights Reserved. | Privacy | Legal | Sitemap