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, WebMerchant11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>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, WebMerchant11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMasterSan Diego, CA 92128 | SiteGuard619/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:
WebCatalog2 Feature Feedback (1996)
But with European Dates? (2006)
Re:[off] Promotions Co? (1997)
WebCat2b13MacPlugin - nested [xxx] contexts (1997)
variables in [addlineitem] (1998)
Include a big block of text (1997)
Multiple Passwords (1997)
Security for malls with different webmasters (1998)
How to redirect based on price subtotal? (1998)
My new discussion forum (2003)
[OT] UK webcat job vacancy (2003)
WebCat2 several catalogs? (1997)
GuestBook example (1997)
possible, WebCat2.0 and checkboxes-restated (1997)
Emailer (1997)
WebCatalog [FoundItems] Problem - AGAIN - (1997)
PCS search results page (1998)
uhm? (2003)
Email Formatting (2001)
WebCatalog 4 Install Problems - Not Answered ?? (2000)