|
|
#16 |
|
Member
![]() Posts: 14
Karma: 10
Join Date: Jul 2021
Device: Kindle 10th gen and Kobo Aura H2O
|
how to get leading zeros on this template
program: floor(days_between($$#read_end, $$#read_start)) |
|
|
|
|
|
#17 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,529
Karma: 8075744
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
|
|
|
| Advert | |
|
|
|
|
#18 | |
|
Member
![]() Posts: 14
Karma: 10
Join Date: Jul 2021
Device: Kindle 10th gen and Kobo Aura H2O
|
Quote:
|
|
|
|
|
|
|
#19 | |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 930
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
|
Quote:
It would be something like this Code:
program: format_number(days_between(raw_field('#read_end'), raw_field('#read_start')), "{0:02.0f}")
Last edited by dunhill; 10-20-2024 at 02:40 PM. |
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Result of difference between two dates populated in a column | China Diapers | Calibre | 8 | 07-07-2019 05:53 AM |
| Calculate reading time. | dunhill | Library Management | 12 | 12-12-2018 03:10 PM |
| How does Kobo calculate reading statistics? | Mrs_Often | Kobo Reader | 24 | 10-30-2015 04:08 AM |
| Is there any way to calculate page numbers better for H2O? | OrangeFlavored | Kobo Reader | 3 | 10-19-2014 07:10 PM |