Timestamp import
Posted: 29.06.2007, 20:08
Hi,
Had some problem with inputting timestamp fields in SQLite Admin.
So I inputted the timestamp data via the program the database runs under. The program uses the SQLite API.
Then I exported the database table to a csv file and imported the file again via SQLite Admin.
All timestamp fields where reset to 12/30/1899 7:00:00 AM.
(See attachments)
I am running Windows XP Home English version with county settings of The Netherlands.
SQLite dll version 3.4.0.
Placed the dll in the Windows32 directory, removed all other from the system.
Questions:
1. What went wrong during import of the csv file?
2. What format should a timestamp have when editing in SQLite Admin?
3. Should the timestamp in the cvs file not be in general ISO 8601 format i.e. yyyy-mm-dd HH:MM:SS
4. A nice to have: Automatic selection of matching fieldnames in de csv and the table when importing data.
regards Ben
Had some problem with inputting timestamp fields in SQLite Admin.
So I inputted the timestamp data via the program the database runs under. The program uses the SQLite API.
Then I exported the database table to a csv file and imported the file again via SQLite Admin.
All timestamp fields where reset to 12/30/1899 7:00:00 AM.
(See attachments)
I am running Windows XP Home English version with county settings of The Netherlands.
SQLite dll version 3.4.0.
Placed the dll in the Windows32 directory, removed all other from the system.
Questions:
1. What went wrong during import of the csv file?
2. What format should a timestamp have when editing in SQLite Admin?
3. Should the timestamp in the cvs file not be in general ISO 8601 format i.e. yyyy-mm-dd HH:MM:SS
4. A nice to have: Automatic selection of matching fieldnames in de csv and the table when importing data.
regards Ben