Re: Sort of a Dilema!

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 18410
interpreted = N
texte = >These formats (especially the number of days since >00/00/0000) are also easier for WebCat to parse, so >your searches will become a little speedier.Storing and comparing dates as the number of days since 00/00/0000 is a *LOT* speedier if you're doing any kind of date comparisons in your searches, especially when you have a large database.I switched from storing dates in the default format to storing dates as the number of days since 00/00/0000, and it has made my large database searches speed up by more than 10,000% -- and that's no exaggeration whatsoever, in fact, it's a very conservative guess. The real results are that a date comparison search that used to run for hours without results now takes just seconds!By the way, since I have changed all the WebDNA code in several different sites to deal with dates as the number of days since 00/00/0000, I wrote a handy web date reference page, and I made it available for everyone else to use. It's downloadable as a .sit file (for use on your own WebDNA site) at:http://webdna.net/dates.sitor it's available as an online reference page at:http://webdna.net/dates.htmlEither way, it's worth taking a look at ... :)Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Re: Sort of a Dilema! (Kenneth Grome 1998)
  2. Re: Sort of a Dilema! (Terry Wilson 1998)
  3. Re: Sort of a Dilema! (Dave MacLeay 1998)
  4. Sort of a Dilema! (The Mooseman 1998)
>These formats (especially the number of days since >00/00/0000) are also easier for WebCat to parse, so >your searches will become a little speedier.Storing and comparing dates as the number of days since 00/00/0000 is a *LOT* speedier if you're doing any kind of date comparisons in your searches, especially when you have a large database.I switched from storing dates in the default format to storing dates as the number of days since 00/00/0000, and it has made my large database searches speed up by more than 10,000% -- and that's no exaggeration whatsoever, in fact, it's a very conservative guess. The real results are that a date comparison search that used to run for hours without results now takes just seconds!By the way, since I have changed all the WebDNA code in several different sites to deal with dates as the number of days since 00/00/0000, I wrote a handy web date reference page, and I made it available for everyone else to use. It's downloadable as a .sit file (for use on your own WebDNA site) at:http://webdna.net/dates.sitor it's available as an online reference page at:http://webdna.net/dates.htmlEither way, it's worth taking a look at ... :)Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Kenneth Grome

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:

remotely add + sign (1997) RE: PIXO support (1997) WebCat2: Items xx to xx shown, etc. (1997) Item counting? (1998) Hyperlink in email (2002) [date] formatting bug inside [orderfile]? (1998) Secure server question (1997) Newbie Tax Question (1997) Question About XML Style Syntax (2000) Unique SKU Numbers (2000) Email (1998) New Command prefs ... (1997) [WriteFile] problems (1997) Text limits in NT version? (1997) Extended [ConvertChars] (1997) [cart] clarification... (1997) Preventing code execution (2003) Order not created error (1997) Creating folders and deleting files (1997) [WebDNA] [BULK] which of these tags exist in 7.0 (2011)