Re: ListFiles then delete by ModDate

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44440
interpreted = N
texte = Tim,Perhaps keep a small database going that looks something like this:TEMP_CARTDATE_CREATED 39435693875698703/05/2002Then have the trigger page search this .db and then [deletfile] any carts that have gone stale, but be sure to add&DATE_CREATEDtype=dateto your search string so WebDNA can do the comparison right. There's a little more to it, but I'm sure you get the idea ;)-Dan ------------------------------------------- http://www.StrongGraphicDesign.com (208) 319-0137 | Toll-free p/f 877-561-1656 Email: art@StrongGraphicDesign.com On Mon, 28 Oct 2002 17:47:12 Kenneth Grome wrote: >>>> Does anyone have some sage words? >>> >>> Change the date format on your server so it puts the mod dates into >>> the MM/DD/YYYY format, then maybe it will work ... >> >>The moddate is already in that format... > >I thought data such as createDate and modDate were displayed in webdna in the same format output >by the OS? From what you're saying, maybe this is not true. So I guess you will have to use >some of webdna's text manipulation tools in order to get the dates into a format you can use ... >:) > > >Sincerely, >Kenneth Grome > >--------------------------------------------------- >WebDNA Professional Training and Development Center >175 J. Llorente Street +63 (32) 255-6921 >Cebu City, Cebu 6000 kengrome@webdna.net >Philippines http://www.webdna.net >--------------------------------------------------- > >------------------------------------------------------------- >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: ListFiles then delete by ModDate (Dan Strong 2002)
  2. Re: ListFiles then delete by ModDate (Kenneth Grome 2002)
  3. Re: ListFiles then delete by ModDate (Tim Robinson 2002)
  4. Re: ListFiles then delete by ModDate (Kenneth Grome 2002)
  5. Re: ListFiles then delete by ModDate (Tim Robinson 2002)
  6. Re: ListFiles then delete by ModDate (Stuart Tremain 2002)
  7. ListFiles then delete by ModDate (Tim Robinson 2002)
Tim,Perhaps keep a small database going that looks something like this:TEMP_CARTDATE_CREATED 39435693875698703/05/2002Then have the trigger page search this .db and then [deletfile] any carts that have gone stale, but be sure to add&DATE_CREATEDtype=dateto your search string so WebDNA can do the comparison right. There's a little more to it, but I'm sure you get the idea ;)-Dan ------------------------------------------- http://www.StrongGraphicDesign.com (208) 319-0137 | Toll-free p/f 877-561-1656 Email: art@StrongGraphicDesign.com On Mon, 28 Oct 2002 17:47:12 Kenneth Grome wrote: >>>> Does anyone have some sage words? >>> >>> Change the date format on your server so it puts the mod dates into >>> the MM/DD/YYYY format, then maybe it will work ... >> >>The moddate is already in that format... > >I thought data such as createDate and modDate were displayed in webdna in the same format output >by the OS? From what you're saying, maybe this is not true. So I guess you will have to use >some of webdna's text manipulation tools in order to get the dates into a format you can use ... >:) > > >Sincerely, >Kenneth Grome > >--------------------------------------------------- >WebDNA Professional Training and Development Center >175 J. Llorente Street +63 (32) 255-6921 >Cebu City, Cebu 6000 kengrome@webdna.net >Philippines http://www.webdna.net >--------------------------------------------------- > >------------------------------------------------------------- >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/ Dan Strong

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:

service stop and restart (1997) [Sum] function? (1997) WebCat2b12 - nesting [tags] (1997) problem serving foreign languages text (1997) Extracting URL (2007) PC Hub and Web Merchant (1998) WebCatalog and directory indexing (1998) Post arguments problem mac? (1997) Error message (1999) Field name-subcategory (1997) Solve the Problem, get the code! (2001) WebCat2b15MacPlugin - showing [math] (1997) [input]?? (1998) Banners (1997) Date Sorting (1997) Math (1997) [WriteFile] problems (1997) Sort of a Dilema! (1998) WebCatalogCtl (2003) WC2.0 Memory Requirements (1997)