Also I was experimenting and came across something strange
The highest date available in the Calibre date fields seems to be 9999-12-31 so I put this in:
Code:
program:
format_date('9999-12-31T23:59:59+00:00', 'to_number')
which resulted in
253402300799.0
So I put that back in this:
Code:
program:
format_date('253402300799.0', 'from_number')
and got a BAD DATE error. I wonder why. maybe I put the date in wrong the first template.