Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
  HXTT Excel v4.2
  Buy Now
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
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 Xin Tian Tai Ltd. of Beijing City (abbr, HXTT)

HXTT Excel
Numbers in column of type DATE
Remco Schoen
2009-11-04 06:36:34.0
If I have a number in a column of type DATE, the driver tries to convert the number to a date probably the constructor Date(long date). For instance the number 1 results in 1970-01-01.

In Excel itself the number 1 stands for 1900-01-01. If you use the ODBC-driver from Microsoft the number 1 is returned as the date 1900-01-01.

Is it possible to have the same behaviour as in Excel?

With kind regards,

Remco Schoen
Re:Numbers in column of type DATE
HXTT Support
2009-11-04 12:24:02.0
1900-01-01 should be a speical date for MS Excel. Please try the latest package, which will think number 1 is 1900-01-01, number 2 is 1900-01-02, and so on.
Re:Re:Numbers in column of type DATE
Remco Schoen
2009-11-06 02:02:38.0
In version 2.2.103 I'm still getting the result 1970 in stead of 1900.
Re:Re:Re:Numbers in column of type DATE
HXTT Support
2009-11-10 06:27:10.0
Recurred. The latest package will be available in 2 hours.
Re:Re:Re:Re:Numbers in column of type DATE
Remco Schoen
2009-11-11 06:40:57.0
Yup, this now works correctly.

Search Key   Search by Last 50 Questions


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