Re: What's New Date

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45291
interpreted = N
texte = Thanks, that was a typo, and when I changed it I brought up a few old past entries. Not the solution . . .What I need is a countdown from today to a week ago day by day . . . . . showing the date and the what's new listing . . . regardless of what I put into my what's new date field.At 04:02 PM 11/14/02 -0600, you wrote: >Not sure if this is the only problem, but noticed: > >&whatsnewdatetype=date > >should be: > >&whatsnewdatAtype=date > >(datatype=date) > >GK > > >| I show various listings in a Whats New column by date for the last 7 days. >| >| In the db admin I sometimes add a future date so an item is considered >| What's New lets say end on of next week 11/22/2002 >| >| How can I prevent these future listings from showing up in the results >| from the code below??? >| >| Everything I've tried failed . . . I always get the future listings with >| the future date heading. >| >| >| >| [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&gewhatsnewdatedatarq=[math >| >date]{[date]}-6[/math]&dewhatsnewdatesort=1&whatsnewdatetype=date&raTITLEsor >t=2] >| [founditems] >| >| [showif [lastDate]![whatsnewdate]] >| __________
>| [whatsnewdate]
>| [text]lastDate=[whatsnewdate][/text] >| [/showif] >| >|  | target=main>[convertchars][Title][/convertchars]
>| >| [/founditems][/search] >| >| [/founditems][/search] >| >| >| >| >| I know its something in my math and date combo but I keep falling down >when >| I go there. >| >| I've tried >| [text]lastDate=[date][/text] >| way at the top with no change in my results . . . >| >| >| >| thanks >| >| >| lester > > >------------------------------------------------------------- >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:

    
  1. Re: What's New Date (Rob Marquardt 2002)
  2. Re: What's New Date (Gary Krockover 2002)
  3. Re: What's New Date (Glenn Busbin 2002)
  4. Re: What's New Date (Lester Emo 2002)
  5. Re: What's New Date (Gary Krockover 2002)
  6. Re: What's New Date (Gary Krockover 2002)
  7. Re: What's New Date (Lester Emo 2002)
  8. Re: What's New Date (Kenneth Grome 2002)
  9. Re: What's New Date (Lester Emo 2002)
  10. Re: What's New Date (Kenneth Grome 2002)
  11. Re: What's New Date (Rob Marquardt 2002)
  12. Re: What's New Date (Lester Emo 2002)
  13. Re: What's New Date (Lester Emo 2002)
  14. Re: What's New Date (Gary Krockover 2002)
  15. What's New Date (Lester Emo 2002)
Thanks, that was a typo, and when I changed it I brought up a few old past entries. Not the solution . . .What I need is a countdown from today to a week ago day by day . . . . . showing the date and the what's new listing . . . regardless of what I put into my what's new date field.At 04:02 PM 11/14/02 -0600, you wrote: >Not sure if this is the only problem, but noticed: > >&whatsnewdatetype=date > >should be: > >&whatsnewdatAtype=date > >(datatype=date) > >GK > > >| I show various listings in a Whats New column by date for the last 7 days. >| >| In the db admin I sometimes add a future date so an item is considered >| What's New lets say end on of next week 11/22/2002 >| >| How can I prevent these future listings from showing up in the results >| from the code below??? >| >| Everything I've tried failed . . . I always get the future listings with >| the future date heading. >| >| >| >| [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&gewhatsnewdatedatarq=[math >| >date]{[date]}-6[/math]&dewhatsnewdatesort=1&whatsnewdatetype=date&raTITLEsor >t=2] >| [founditems] >| >| [showif [lastDate]![whatsnewdate]] >| __________
>| [whatsnewdate]
>| [text]lastDate=[whatsnewdate][/text] >| [/showif] >| >|  | target=main>[convertchars][Title][/convertchars]
>| >| [/founditems][/search] >| >| [/founditems][/search] >| >| >| >| >| I know its something in my math and date combo but I keep falling down >when >| I go there. >| >| I've tried >| [text]lastDate=[date][/text] >| way at the top with no change in my results . . . >| >| >| >| thanks >| >| >| lester > > >------------------------------------------------------------- >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:

TemplateCacheSize preference! (1998) WC 2.0 frames feature (1997) Help name our technology! I found it (1997) Emailer (WebCat2) (1997) [shownext max=?] armed (1997) Write file (2000) anyone using Webcat 4.x in production? (2000) PCS Frames (1997) Secure Server (1997) Emailer update for Mac? (1998) Moment of Thanks (1997) No luck with taxes (1997) Temp DB (Was freeze) (2003) re:check boxes (1997) Formulas.db + Users.db (1997) BUG in [showif] using ^ (contains) (1997) File Upload and Platform (2001) [addlineitems] (1997) Re:Searching for ALL / empty form field (1997) Orderfile Question (2003)