Re: date format (another question)

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 26789
interpreted = N
texte = Actually I hadn't considered the performance impact of sorting by date vs. sorting by days. Perhapss there is a performance hit. I'd love to know what you learn.There is one Y2.1K implication of using days vs. dates. The current date is something like 73000. And you might be tempted to not type this as a numeric field in your sorts and consider it a text field. But in 25,000 days -- or 68 years from now -- the days will change to a number greater then 99999 and you'll be in trouble. As to finding records within the last x days:Using dates stored in the [date] method, I found it easy to do this: Only show Cruisers who joined in the last 7 days BUT.... Trying to find records within a date range is difficult with the [date] format because you have to group the fields and specify them as [date] format. While I'm sure it's possible, I was not able to get that to work. For this site, I stored the date as days....Tradeoffs either way.___Joe___------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: date format (another question) (Kenneth Grome 2000)
  2. Re: date format (another question) (Dave MacLeay 2000)
  3. Re: date format (another question) (Joseph D'Andrea 2000)
  4. Re: date format (another question) (Kenneth Grome 2000)
  5. Re: date format (another question) (Eric Ridgley 2000)
  6. Re: date format (another question) (Joseph D'Andrea 2000)
  7. Re: date format (another question) (Dale Therio 2000)
  8. Re: date format (another question) (Bob Minor 2000)
  9. Re: date format (another question) (Joseph D'Andrea 2000)
  10. Re: date format (another question) (Dale Therio 2000)
Actually I hadn't considered the performance impact of sorting by date vs. sorting by days. Perhapss there is a performance hit. I'd love to know what you learn.There is one Y2.1K implication of using days vs. dates. The current date is something like 73000. And you might be tempted to not type this as a numeric field in your sorts and consider it a text field. But in 25,000 days -- or 68 years from now -- the days will change to a number greater then 99999 and you'll be in trouble. As to finding records within the last x days:Using dates stored in the [date] method, I found it easy to do this:[date]}-7[/math]> Only show Cruisers who joined in the last 7 days BUT.... Trying to find records within a date range is difficult with the [date] format because you have to group the fields and specify them as [date] format. While I'm sure it's possible, I was not able to get that to work. For this site, I stored the date as days....Tradeoffs either way.___Joe___------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Joseph D'Andrea

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:

NT or Mac (1998) all db's in one folder and protected (1998) question: Eudora 3.1.1 (1997) Error Log (2000) WC2.0 Memory Requirements (1997) File Upload (1997) Searching multiple records for certain info (2000) Sort Order on a page search (1997) OK, here goes... (1997) # fields limited? (1997) [OT] Imagemagick (2004) form data submission gets truncated (1997) Presenting a .txt file (2000) problems with 2 tags (1997) WebCatalog can't find database (1997) Trouble with formula.db (1997) WebCatalog for guestbook ? (1997) Almost a there but..bye bye NetCloak (1997) Bug or syntax error on my part? (1997) [WebDNA] How to generate md5 hash on linux (2009)