![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 57
Karma: 12544
Join Date: Jul 2018
Device: None
|
HowTo? Virtual Library... date="today" (or range)
Is there a way to create a virtual library that shows books matching...
date:"=today" (variable that matches 'the-day-of-here-and-now' date upon which the query was executed) what about creating a virtual library that shows books matching... date:"=past-x-days" <-- would be the past 'x' days including today date:"=this-year" <-- now would be 2020, after JAN would be 2021 date:"=last-year" <-- now would be 2019, after JAN would be 2020 forgive my silly way of speaking. I am trying to convey the 'system variable' nature of the queries. |
![]() |
![]() |
![]() |
#2 |
hopeless n00b
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
First two are easy. The following should work.
date:today date:<=7daysago I believe yesterday and thismonth are also supported. Dunno how you’d do the variable year, though. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@wjBLqf-_9 - the so-called "Advanced Search" tool (gear icon on left hand end of search box) has a Date searches tab that can be useful - not sure if you can get it to do all what you want - but it might give you some clues.
Why 'so-called' because its more like a "Search Helper" Advanced is when you can type a complex search expression containing multiple regex search terms strung together with the 'and's, 'or's, 'not's, '('s, and ')'s where they should be ![]() ![]() BR |
![]() |
![]() |
![]() |
#4 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Here is one I use to see if I need to send (again) to my device : Looks for 2 days
Code:
last_modified:>=2daysago and formats:true Any valid search dialog should be good for a VL |
![]() |
![]() |
![]() |
#5 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,974
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
This is my 'recently added' saved search:
Code:
date:>7daysago Code:
#fanficupdated:>7daysago AND #fanficstatus:"In-Progress" |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34
Karma: 130226
Join Date: Apr 2020
Device: Kindle Voyage
|
What about sorting Virtual library results by a different column than the tab with all books? Let's say I'm looking all the books sorted by author, and then hit my VL tab with recently opened which is set with <last7days....can I automatically sort the results by that same column? tnx
|
![]() |
![]() |
![]() |
#7 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,974
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Use View Manager.
|
![]() |
![]() |
![]() |
#8 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34
Karma: 130226
Join Date: Apr 2020
Device: Kindle Voyage
|
Quote:
|
|
![]() |
![]() |
![]() |
#9 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 893
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
|
And if I wanted to know the books that I have read this month, taking into account that I have a custom column with the finished date, how would the syntax be?
My custom column is named dateendded And build a virtual library to see the monthly readings with this syntax #dateendded:> 30daysago How could I see only those of the previous month? The date is calculated from the day of the date Therefore, it calculates business days, that is, it does not calculate Sunday. Solve the formula calculating 34 days Last edited by dunhill; 11-22-2020 at 06:44 PM. |
![]() |
![]() |
![]() |
#10 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,974
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
|
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#12 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 893
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
|
|
![]() |
![]() |
![]() |
#13 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
use daysago
eg date:>=30daysago |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Creating Virtual Library by Publication Date Range | karbonbased | Library Management | 1 | 12-26-2015 03:39 PM |
"Virtual" books won't add to calibre library | Tanja1969 | Library Management | 7 | 04-09-2015 12:44 AM |
FYI: "HowTo" prefix is now called "Tutorial" | ixtab | Kindle Developer's Corner | 2 | 08-15-2013 08:54 AM |
Question: addition of "virtual libraries" (was "base search restriction") | chaley | Library Management | 53 | 04-15-2013 12:52 PM |
insert "today's date" in regular expression | mark_e_h | Calibre | 0 | 04-07-2012 01:07 PM |