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:

Errata: WCS Newbie question (1997) [format 40s]text[/format] doesn't work (1997) Append command (2000) unable to launch acgi in WebCat (1997) WebCatalog and directory indexing (1998) cart (1997) WebDNA Solutions --> Date format suggestions (1998) Problem with [math] (2000) Question on TABLES (2003) [WebDNA] HTTP crashes (2010) Negative Range Error (2003) Force leading zeros (1998) This list needs a digest: rant, rave... (1997) Join us at MacWorld! (1998) Erotic Sites (1997) Replace Statement (1997) how do I delete 1 of 2 identical records? (2003) Extended [ConvertChars] (1997) Support suggestions - long (was politeness, et al) (2000) unsubscribe (1997)