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_CART
DATE_CREATED39435693875698703/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-1656Email: art@StrongGraphicDesign.comOn 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:
Tim,Perhaps keep a small database going that looks something like this:TEMP_CARTDATE_CREATED39435693875698703/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-1656Email: art@StrongGraphicDesign.comOn 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:
[WebDNA] Listfields does not work with tables (2011)
Happy New year (2004)
Date Range Sorting (1997)
Can you specify encoding=multiline? (2000)
I'm new be kind (1997)
Nested vs conditional (1997)
Showing unopened cart (1997)
Non-Cart Files in Shopping Cart Folder (1997)
QuitFeedback & DBNotOpened errors (1997)
WebCat2 several catalogs? (1997)
HTML Editors (1997)
Making a page expire with web catalog? (1999)
Requiring that certain fields be completed (1997)
Press Release hit the NewsWire!!! (1997)
WebCat on Alpha? (1997)
Re:Searching for ALL / empty form field (1997)
auction system w/ Web Cat (1999)
[QuantityPrice] Not working in WebCatNT 2.0.1??? (1997)
WebCat2b13MacPlugIn - syntax to convert date (1997)
Removing [showif] makes a big difference in speed (1997)