26 Mar 2021 (in calibre version 5.14)
- Add new date formats 'to_number' and 'from_number'
You can now convert dates to/from a floating point number representing the number of seconds since some platform-dependent start point. This number is sometimes called a 'timestamp'. Number-format dates are easier to compare and to modify using arithmetic. Details:- to_number : convert the date & time into a floating point number (a `timestamp`)
- from_number : convert a floating point number (a `timestamp`) into an 'iso' formatted date. If you want a different date format then add the desired formatting string after 'from_number' and a colon (':'). Example:
from_number:MMM dd yyyy