Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Weird Search Problem...

Quote Reply
Weird Search Problem...
Hi:

I had a brilliant idea... I would create a link that would search and return all entries created Today. I made a global ($to_day) that would return todays date in the format mm-dd, and then I put that variable in a predefined search of the field Add_Date... lkke this:

http://www.bcdb.com/...;substring=1&d=1

I used the leading "-" to make sure I was matching month and day, not, in the case of say 03-10, October of 1903...

I noticed something weird. It would return all cartoons created on todays date just fine UNLESS the date ended in a zero... so 03-10, or 03-20 returns an error (try the above link), but 03-21 returns the proper links... (edit the above link and try!)

Any ideas why, or- even better- how I can work around this?

dave

Quote Reply
Re: Weird Search Problem... In reply to
You can simply use &Add_Date=<%date%>.

Regards,

Eliot Lee
Quote Reply
Re: Weird Search Problem... In reply to
Eliot:

Thanks for that- that would work to match today with the year.... I wanted to match month and day, but any year...

dave