[Flashr] retrieve the date
Kelvin Luck
kelvin at kelvinluck.com
Mon Oct 23 05:10:57 EDT 2006
Hi,
Sorry for the slow reply...
As you can see from the documenation for photosSearch [1], max_taken_date
accepts a MySQL date time... There is a utility method to help you
generate one of these.. Try :
_flashr.photosSearch({tags:SEARCH_TAG, per_page:NUM_RESULTS,
max_taken_date:
com.kelvinluck.util.DateFormat.dateToIso(MAX_DATE_TAKEN)});
Hope this helps,
Kelvin :)
[1]
http://kelvinluck.com/assets/flickr_api/0.4/docs/files/com/kelvinluck/flickr/Flickr-as.html#com.kelvinluck.flickr.Flickr.photosSearch
On Thu, October 19, 2006 12:48 pm, moshe ezderman wrote:
> Thanks Kelvin. now I have another issue with dates. I am trying to do a
> simple search where I get all the images that taken before a certain date
> so here is how I set mey date attribute:
> public static var MAX_DATE_TAKEN:Date= Thu Oct 10 07:27:16 GMT-0400 2006
>
> and then I am calling the search function:
> _flashr.photosSearch({tags:SEARCH_TAG,
> per_page:NUM_RESULTS,max_taken_date: MAX_DATE_TAKEN});
>
> I am getting an error. What do I do wrong? Thanks
>
>
More information about the Flashr
mailing list