Re: Searching/sorting dates

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13993
interpreted = N
texte = >Does or does not WebCat work with international dates? The doc states that >international dates can be used and sorting, comparision and summaries >works with dates formatted as set in the general prefs, but my experiences >today says different :-(I think the numbers need to be separate by /, not -. But before you change your database, I have another suggestion. It looks like you have stored your dates in a way that can be sorted using standard alphabetical sorting, so first try removing the type=date parameter from your search context. Then WebCatalog will sort them as strings of text, and I think they will sort correctly.If you use this technique, it is *very* important that you have 0 preceding single-digit days and months: 1997-02-02, *not* 1997-2-1Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Searching/sorting dates (Grant Hulbert 1997)
  2. Searching/sorting dates (Christer Olsson 1997)
>Does or does not WebCat work with international dates? The doc states that >international dates can be used and sorting, comparision and summaries >works with dates formatted as set in the general prefs, but my experiences >today says different :-(I think the numbers need to be separate by /, not -. But before you change your database, I have another suggestion. It looks like you have stored your dates in a way that can be sorted using standard alphabetical sorting, so first try removing the type=date parameter from your search context. Then WebCatalog will sort them as strings of text, and I think they will sort correctly.If you use this technique, it is *very* important that you have 0 preceding single-digit days and months: 1997-02-02, *not* 1997-2-1Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

referrer (2000) Starting WebCat under linux (2000) Variable Sizes, Widths and Colors (2000) CMS (2003) Setting a null value for reply to address using sendmail... (2001) ShowIf Question (1998) Separate SSL Server (1997) tcpconnect/tcpsend frustrations (2002) Opinion: [input] should be called [output] ... (1997) using webdna to determine pixel parameters (2000) Summing fields (1997) Configuring E-mail (1997) Using Checkbox (2000) WebCat2b12--[searchstring] bug (1997) HTML encoding in URLs (1997) [OT] Javasript Help (2006) Can't Update records (1997) Re(2): Share Bulletin Board? (1998) Integration with SQL (1997) GoLive CyberStudio 1.0.1 (1997)