View Single Post
Old 12-26-2021, 05:31 PM   #3
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 897
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Quote:
Originally Posted by chaley View Post
The earliest date calibre can represent is 0101-01-02.

One way to handle BC/AD years is with an integer. Use negative numbers for BC. It is up to you to avoid using zero. If you do arithmetic you need to account for the extra year, e.g., that the difference between 1 AD (1) and 1 BC (-1) is 1.

You could have accurate recent dates if you use 2 columns, a date column for values that calibre can represent and an integer column for years < 0101. A template in a composite column could display the accurate date if it is defined, formatted as you wish. If it is undefined then use the integer column to display the early AD/BC years possibly decorated with with the letters. Example: the year -4 could display as 4 BC.


thank you !!!
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	113
Size:	57.9 KB
ID:	191039  
dunhill is offline   Reply With Quote