create_modification_time_range method
Leave feedback
On this page
Creates a filter for skipping documents with modification date out of the specified range.
def create_modification_time_range(cls, lower_bound, upper_bound):
...
| Parameter | Type | Description |
|---|---|---|
| lower_bound | datetime |
The lower bound of the document modification time. |
| upper_bound | datetime |
The upper bound of the document modification time. |
Returns: DocumentFilter: A document filter by document modification time.
import datetime
from groupdocs.search.options import DocumentFilter
filter = DocumentFilter.create_modification_time_range(
datetime.datetime(2017, 1, 1),
datetime.datetime(2018, 6, 15)
)
print(filter)
- class
DocumentFilter
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.