Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
  HXTT Excel v6.1
  HXTT Json v1.0
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
  Buy Now
  HXTT Word v1.1
  HXTT XML v4.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 Lab of Xi'an City (abbr, HXTT)

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

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
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
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 © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap