View Single Post
Old 03-16-2025, 10:38 AM   #5
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,203
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
If you have multiple books and don't want to enter the value manually for each, another solution would be like this:
  1. In your SQL Viewer/Editor export the data you want to csv. If your SQL Editor does not support exporting to csv, look for another one in google.
  2. Use the Import List plugin to import the timestamps. Import List does not support importing to the original timestamps field, so you will have to import into a custom date column.
  3. Use Action Chains SFE template to copy the timestamps from you custom column.

Notes:
  • For your custom date column, use the iso format. It guarantees parse_date is not confused between months and days, it also includes times and time zone.
  • Import List can match books using uuid. So make sure to choose that for matching books.
  • If you use this method for copying values FROM custom columns, you will find the resulting csv file without the uuid field. In which case you will have to also export the books table to another csv file, and link them using VLOOKUP in excel.
  • You only need to do steps 2 and 3 if you are importing into timestamps. Since Import List supports all other columns, you can directly import into them, with caveat mentioned above for custom columns.

Edit: An earlier version of this post was deleted, because I realized after posting that I needed to check some things in calibre, which I did not available at the time. Sorry to the mods for the inconvenience.

Edit2: Instead of using sql viewer to export to csv, it is better to open the backup library with calibre itself and use the catalog function to export to csv.

Last edited by capink; 03-17-2025 at 09:45 AM.
capink is offline   Reply With Quote