You can also pass the following options to the search results page URL as additional $_GET vars, or embed hidden form elements in a custom search form to limit results using  time and date related values. The value of the TIMESTAMP can be a Unix integer timestamp or an ISO format Y-m-d H:i:s


Note: several of the following $_GET URL examples contain %20 which is the proper way to URL encode a space character when embedding HTML links for HTML validation purposes.


Find all listings modified last before Feb 12 2006 at midnight

$_GET example:

&listing_last_modified_less=2006-2-12


Form example:

<input type="hidden"name="listing_last_modified_less"value="2006-2-12"/>



Find all listings modified last on Feb 12 2006 at 7:30:00 PM

$_GET example:

&listing_last_modified_equal=2006-2-12%2019:30:00


Form example:

<input type="hidden" name="listing_last_modified_equal" value="2006-2-12 19:30:00"/>



Find all listings modified last after Feb 12 2006 at 8:00:00 PM

$_GET example:

&listing_last_modified_greater=2006-2-12%2020:00:00


Form example:

<input type="hidden" name="listing_last_modified_greater" value="2006-2-12 20:00:00"/>



Find all listings that expired after Feb 12 2006 at 8:00:00 PM

&listingsdb_expiration_greater=2006-2-12%2020:00:00


Form example:

<input type="hidden" name="listingsdb_expiration_greater" value="2006-2-12 20:00:00"/>


Find all listings that were created on Feb 12 2006 at 8:00:00 PM

&listingsdb_creation_date_equal=2006-2-12%2020:00:00


Form example:

<input type="hidden" name="listingsdb_creation_date_equal" value="2006-2-12 20:00:00"/>


Find all listings that were created after Feb 12 2006 at 8:00:00 PM

&listingsdb_creation_date_greater=2006-2-12%2020:00:00


Form example:

<input type="hidden" name="listingsdb_creation_date_greater" value="2006-2-12 20:00:00"/>



Find all listings that were created before Feb 12 2006 at 8:00:00 PM

&listingsdb_creation_date_less=2006-2-12%2020:00:00


Form example:

<input type="hidden" name="listingsdb_creation_date_less" value="2006-2-12 20:00:00"/>



The following options use ordinary numeric values to specify X number of days in the past.


Find all listings created yesterday:

&listingsdb_creation_date_equal_days=1


<input type="hidden" name="listingsdb_creation_date_equal_days" value="1" />



Find all listings created more then  3 days ago:

&listingsdb_creation_date_greater_days=3


<input type="hidden" name="listingsdb_creation_date_greater_days" value="3" />



Find all listings created in the last 2 days:

&listingsdb_creation_date_less_days=2


<input type="hidden" name="listingsdb_creation_date_less_days" value="2" />


Related Topics:
Listings Notification
Search Page Options
Search Result Options
Search Page Order Tab
Search Results Order Tab
General
Main Template Tags
SEARCH PAGE TEMPLATES
Custom Search Pages
Multiple Sortby Values
Search Page Template Tags
Search Results Template Tags
Search Results
FREQUENTLY ASKED QUESTIONS (FAQs)
TROUBLESHOOTING