Re: What's New Date
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45308
interpreted = N
texte = The change you asked me to try appears to be working.I did have to have rq as part of the codeWithout it I got every listing that had a What's New date going way way back to the beginning.No future dates are being shown now it appears.Why does the space in the part [dminus6] [date]make the future NOT appear?? (that's corrrect by the way)Without the space the future date does appear.Dates and calculations still throw me for a loop at times, so excuse my lack of understanding it completely.thanks.At 09:32 PM 11/14/02 -0600, you wrote:>Try plugging in something to this effect:>[text show=f]dminus6=[math date]{[date]}-6[/math][/text]>then:>&rnwhatsnewdatedatarq=[dminus6] [date]>>GK>> > Here's what's working OK for now . . . .> >> > [search db=admin/sections.db&eqS_RELATEDdatarq=[id]&S_RELATEDsumm=T]> > [founditems]> >> > [!] - - - - - - - - - This Finds My Listings by Date - - - - - - - - - -> > - - [/!]> > [text]lastDate=0[/text]> > [search> >>db=admin/products.db&woSECTIONSdatarq=[id]&SECTIONSword=ww&namewbrk=+&eqVisi>bledatarq=T&eqwhatsnewdatedatarq=[math> >>date]{[date]}-6[/math]&dewhatsnewdatesort=1&whatsnewdatatype=date&raTITLEsor>t=2]> > [founditems]> >> > [hideif [whatsnewdate]>[date]]> > [showif [lastDate]![whatsnewdate]]> > __________
> >
[whatsnewdate]> > [text]lastDate=[whatsnewdate][/text]> > [/showif]> >
> target=main>[convertchars][Title][/convertchars]> > [/hideif]> > [/founditems]> > [/search]> >> > [/founditems]> > [/search]> >> >> > changing> > &eqwhatsnewdatedatarq=[math date]{[date]}-6[/math]> > to> > &rnwhatsnewdatedatarq=[math date]{[date]}-6[/math]> >> > produced no changes, unless I'm using range wrong . . .> >> >> >> >> >> >> >> > At 10:11 AM 11/15/02, you wrote:> > >>Unless there's something else I''ve coded wrong in the> > >>original code I posted I get the same problem when I do> > >>a range search instead of how I've been doing it . . . I> > >>still get the future what's new of 11/17/2002 in my> > >>founditems. I get a 7 days countdown worth of entries,> > >>but then I also get any future ones as well.> > >> > >Post your range search and maybe we can find the problem ...> > >> > >> > >Sincerely,> > >Kenneth Grome>>>------------------------------------------------------------->This message is sent to you because you are subscribed to> the mailing list
.>To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >>Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
The change you asked me to try appears to be working.I did have to have rq as part of the codeWithout it I got every listing that had a What's New date going way way back to the beginning.No future dates are being shown now it appears.Why does the space in the part [dminus6] [date]make the future NOT appear?? (that's corrrect by the way)Without the space the future date does appear.Dates and calculations still throw me for a loop at times, so excuse my lack of understanding it completely.thanks.At 09:32 PM 11/14/02 -0600, you wrote:>Try plugging in something to this effect:>[text show=f]dminus6=[math date]{[date]}-6[/math][/text]>then:>&rnwhatsnewdatedatarq=[dminus6] [date]>>GK>> > Here's what's working OK for now . . . .> >> > [search db=admin/sections.db&eqS_RELATEDdatarq=[id]&S_RELATEDsumm=T]> > [founditems]> >> > [!] - - - - - - - - - This Finds My Listings by Date - - - - - - - - - -> > - - [/!]> > [text]lastDate=0[/text]> > [search> >>db=admin/products.db&woSECTIONSdatarq=[id]&SECTIONSword=ww&namewbrk=+&eqVisi>bledatarq=T&eqwhatsnewdatedatarq=[math> >>date]{[date]}-6[/math]&dewhatsnewdatesort=1&whatsnewdatatype=date&raTITLEsor>t=2]> > [founditems]> >> > [hideif [whatsnewdate]>[date]]> > [showif [lastDate]![whatsnewdate]]> > __________
> > [whatsnewdate]
> > [text]lastDate=[whatsnewdate][/text]> > [/showif]> > > target=main>[convertchars][Title][/convertchars]
> > [/hideif]> > [/founditems]> > [/search]> >> > [/founditems]> > [/search]> >> >> > changing> > &eqwhatsnewdatedatarq=[math date]{[date]}-6[/math]> > to> > &rnwhatsnewdatedatarq=[math date]{[date]}-6[/math]> >> > produced no changes, unless I'm using range wrong . . .> >> >> >> >> >> >> >> > At 10:11 AM 11/15/02, you wrote:> > >>Unless there's something else I''ve coded wrong in the> > >>original code I posted I get the same problem when I do> > >>a range search instead of how I've been doing it . . . I> > >>still get the future what's new of 11/17/2002 in my> > >>founditems. I get a 7 days countdown worth of entries,> > >>but then I also get any future ones as well.> > >> > >Post your range search and maybe we can find the problem ...> > >> > >> > >Sincerely,> > >Kenneth Grome>>>------------------------------------------------------------->This message is sent to you because you are subscribed to> the mailing list .>To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >>Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Lester Emo
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
shipcost (1997)
Mass Mail (2000)
[OT]: BBEdit grep (2003)
Round to the nearest half! (2008)
Math Function (1997)
frames & carts (1997)
[WebDNA] writing pdfs on the fly (Avery labels #5160) (2010)
The List is Changing (1997)
[WebDNA] Is WebDNA slowing things up - please try these URL's (2013)
webcat NT with [dos] command (1997)
Searching for foreign chars (2004)
WebMerchant bomb (1998)
PSC recommends what date format yr 2000??? (1997)
The Best Shopping Cart Solution I Have Come Upon (2003)
Type 11 errors setting up WebCAt 2 (1997)
Help! WebCat2 bug (1997)
Date format problems (1997)
RAM variables (1997)
[WebDNA] multi [sendmail] inside [search] (2012)
Webmessage Hyperboard (1998)