Re: &FieldNametype=time unnecessary?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 26386
interpreted = N
texte = >I see in the docs how to sort by date using the >FieldNametype=date > >but what about sorting by time? I don't see any reference to a FieldNametype=time... so can >I assume that the default behaviour will always do the right thing when I sort by a field >with time values?Assuming you store your time values in the default HH:MM:SS format, then yes, they will always sort properly as text -- which means you do not need the FieldNametype=time parameter. The only time you might need to use that parameter is if you change the way you store times in your db to a different format.================================ Kenneth Grome, WebDNA Consultant 808-737-6499, http://webdna.net ================================------------------------------------------------------------- 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:

    
>I see in the docs how to sort by date using the >FieldNametype=date > >but what about sorting by time? I don't see any reference to a FieldNametype=time... so can >I assume that the default behaviour will always do the right thing when I sort by a field >with time values?Assuming you store your time values in the default HH:MM:SS format, then yes, they will always sort properly as text -- which means you do not need the FieldNametype=time parameter. The only time you might need to use that parameter is if you change the way you store times in your db to a different format.================================ Kenneth Grome, WebDNA Consultant 808-737-6499, http://webdna.net ================================------------------------------------------------------------- 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 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:

Uppdate Qty (2000) Show if time tags (1997) [listfiles] (1998) Strange Search Results (2004) Title not showing up in ViewOrder template (1998) Search multiple fields (1997) Pirated WebCat? NOT... (2003) Carts & cookies (1999) Color options for items (1999) Associative lookup style? (1997) RE: [WebDNA] WebDNA frameworks and beginners (2012) Don't know if this is a sily question... (2003) Setting up shop (1997) [cart] not being interpreted inside [founditems] (1997) Reload adding to cart (2001) Requiring that certain fields be completed (1997) Nesting WebDNA in JavaScript (2003) WebCatalog for Postcards ? (1997) 2.0.1: Shopping Carts deleted after 1 hour (1997) New Site Announcement (1998)