• Home
  • About
  • Help
  • Testimonials
  • How Tos
  • Galleries
  • Slideshows
  • Galleria
  • Plugin News
  • Flickr News

How To Search Flickr Photos By Date

February 12, 2011 by Russell Leave a Comment

  • Share
  • +1
  • Share
  • Pin It
  • Buffer

Flickr Photo Search By Date

The tutorial shows you how to search for photos on Flickr based using a date range and a selection of either the date the photo was taken, or the date the photo was uploaded to Flickr. The date taken is useful where you have a camera that is configured with the correct time and the camera is able to store the time the photo was taken.

Flickr Date Parameters

Slickr Flickr has four parameters to help with searching by dates:

  • date_type – “taken” or “upload” (default is “taken”)
  • date – used where you want to select photos for a specific day
  • after – used where you want to select photos on or after a specific day
  • before – used where you want to select photos on or before a specific day

If you specify the “date” parameter then the “after” and before” parameters are ignored.

If you do not specify the “date” parameter then you can specify either the “after” parameter, the “before” parameter or both the “before” and “after” parameters if you want to fetch all photos between 2 dates.

Date Formats

The recommended date format to be used in the dateis YYYY-MM-DD as this is unambiguous. However you can get fancy with the dates :

  • after=”last Monday” (since last Monday)
  • before=”-1 year” (more than a year ago)
  • before=”-1 week” after=”-2 weeks” (last week)
  • date=”-1 day” (yesterday)

If you specify an invalid date it will just get ignored.

Flickr Video Tutorial for Search by Date

From Slickr Flickr version 1.22 onwards you can select tagged photos by date.

If you specify the “date”, “after” or “before” parameters the Flickr API search will automatically be invoked.

Example of Photos Taken On a Specific Date

[code]slickr-flickr tag="roma" date="2010-08-21" items="6" flickr_link="on"[/code]

Example of Photos Upload On a Specific Date

[code]slickr-flickr date_type="upload" date="2010-12-10" items="6" flickr_link="on"[/code]

Example of Photos Taken Before a Specific Date

[code]slickr-flickr before="2006-03-10" items="6" flickr_link="on"[/code]

Example of Photos Taken After a Specific Date

[code]slickr-flickr date_type="taken" after="2011-01-21" items="6" flickr_link="on"[/code]

Example of Photos Taken Between Specific Dates

[code]slickr-flickr after="2010-11-01" before="2010-12-31" items="6" flickr_link="on"[/code]

Updated by Russell.

Filed Under: Flickr How To Tagged With: Flickr API, flickr tutorial

Leave a Reply

Your email address will not be published. Required fields are marked *

Latest News

Slickr Flickr v2.8 was released on 8th February 2021. This supports WordPress 5.6, PHP 7.4 and has internationalisation support.

Small Slideshow In Widget

Rocco as a Stole

Joined At The Lughole

A Greener Way To See Life Down Under

You Can Almost See The Sea From Here

No Way!

A Girl Can Never Have Too Many Blankets

Does My Head Look Big In This?

Summertime and The Livin' is EZ

Somebody dropped a Sandwich?

Smile And The Whole World Smiles With You

Rocco "Downie" Junior

Slickr Flickr Support

  • Get Support with Slickr Flickr Pro
  • Slickr Flickr Documentation
  • Slickr Flickr FAQ
  • Slickr Flickr Issues
  • Suggest Ideas
  • Flickr API and HTTPS

Gallery In Widget

New To Flickr and are missing photos?

Just a reminder that for new Flickr accounts it takes 3-5 working days after you upload your fifth photo before you photos are made available by Flickr for searches and also to Slickr Flickr.

For more information see the discussion of the new Flickr account rules on the Flickr forum.

Check the status of your Flickr account by logging in to Flickr and then visiting at http://www.flickr.com/account/

Recent Posts

  • Slickr Flickr 2.8 Release
  • Slickr Flickr 2.7 Release
  • Slickr Flickr 2.6 Release
  • Slickr Flickr 2.5 Release
  • Flickr Search By Text

Recent Comments

  • MK on Slickr Flickr 2.8 Release
  • Russell on How To Display a Flickr Photoset?
  • Russell on Where do I find my Flickr ID

Tags

customizations Flickr API flickr gallery flickr photo gallery Flickr RSS flickr slideshow flickr tutorial galleria lightbox missing latest photos Newsfeed Photo Descriptions Photoset plugin conflict Portrait sorting photos tagged phots thumbnail
  • Contact
  • Donate
  • Slickr Flickr v2.7
Copyright © 2009-2025 DIYWebmastery
PO Box 85 · Hatherleigh · Okehampton · Devon · EX20 4WH · UK
  • Share
  • +1
  • Share
  • Pin It
  • Buffer
  • 0