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:

Re2: Calculating multiple shipping... (1997) WYSIWYG Editor? (2006) [format xs] freeze (1997) What am I missing (1997) problem: mail changed (1997) Formulas.db + Users.db (1997) how many tags? (2001) Thanks ! (1997) Quick Question (1997) webten vs. webstar (1998) pc (1997) All questions are welcome on this list (1997) GoLive CyberStudio 1.0.1 (1997) Email...Thanks (1997) random within a specified range (2001) taxrate - off by 1 cent (1997) ShowIf & HideIf Question? (1998) searching withe db up three directories not working (1999) WebCat2 - Getting to the browser's username/password data (1997) webcat feature request (1997)