Re: Another date range search Q
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 43294
interpreted = N
texte = Gary -I get 02/07/35 from the date format example (OSX).In your search, the startdatetype and enddatetype parameters are meaningless. The ddatetype parameter applies to both the DB field and the value(s) it's being compared to. Try removing the extra parameters to see if it helps. It looks like WebDNA is not using the ddatetype parameter and is instead doing a text comparison.And I strongly recommend the days since format for dates - it makes all range tests and date math much simpler and faster.- BrianAt 5:15 PM 9/10/02, Gary Krockover wrote:>Ok then, why does this (from the online docs):>[Format Days_To_Date %m/%d/%y]195462[/Format]>>Return this?:>02/27/*+>>Latest WebDNA, Win2kadvserv.>>Why don't I just go home for the day?>GK>>>| Why does this search:>| [Search db=report.db&eqacctdatarq=[acct]&rnddatedatarq=[startdate]>|>[enddate]&startdatetype=date&enddatetype=date&ddatetype=date&ddatesort=1&dda>| tesdir=de]>|>| startdate: 7/23/2002>| enddate: 7/30/2002>|>| Return:>| 7/3/2002>| 7/26/2002>| 7/30/2002>|>| ?>|>| Yes, I've changed the dates in the database from 7/3/2002 to 7/03/2002 and>| it fixes it. Is the only answer to change the way the date is appended to>| the database? Should I be working with #ofdays since.. format. I think I>| know that answer.... :)>|>| GK>>>------------------------------------------------------------->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:
Gary -I get 02/07/35 from the date format example (OSX).In your search, the startdatetype and enddatetype parameters are meaningless. The ddatetype parameter applies to both the DB field and the value(s) it's being compared to. Try removing the extra parameters to see if it helps. It looks like WebDNA is not using the ddatetype parameter and is instead doing a text comparison.And I strongly recommend the days since format for dates - it makes all range tests and date math much simpler and faster.- BrianAt 5:15 PM 9/10/02, Gary Krockover wrote:>Ok then, why does this (from the online docs):>[Format Days_To_Date %m/%d/%y]195462[/Format]>>Return this?:>02/27/*+>>Latest WebDNA, Win2kadvserv.>>Why don't I just go home for the day?>GK>>>| Why does this search:>| [Search db=report.db&eqacctdatarq=[acct]&rnddatedatarq=[startdate]>|>[enddate]&startdatetype=date&enddatetype=date&ddatetype=date&ddatesort=1&dda>| tesdir=de]>|>| startdate: 7/23/2002>| enddate: 7/30/2002>|>| Return:>| 7/3/2002>| 7/26/2002>| 7/30/2002>|>| ?>|>| Yes, I've changed the dates in the database from 7/3/2002 to 7/03/2002 and>| it fixes it. Is the only answer to change the way the date is appended to>| the database? Should I be working with #ofdays since.. format. I think I>| know that answer.... :)>|>| GK>>>------------------------------------------------------------->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/
Brian Fries
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:
Reversed words (1997)
Removing Space Characters (1999)
OK, my turn... TEST (2003)
ErrorLog with Linux? (2000)
tab deliminated txt file (2001)
Help formatting search results w/ table (1997)
[WebDNA] [BULK] WebDNA 7 Won't Install/Work [internal server error] (2010)
Not really WebCat (1997)
authenticating a second user (1997)
Plain Language Manual? (1998)
Resume Catalog ? (1997)
page redirect in webDNA (1997)
Calculating a total (2000)
Re:quit command on NT (1997)
webdna dreamweaver extension (2003)
HTML Editors (1997)
Shopping with Accounts (2003)
PSC recommends what date format yr 2000??? (1997)
verify online (1997)
auto adding SKUs w/DB helper (1998)