Re: Using ticks

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 30521
interpreted = N
texte = >I use [math]{[date]}[/math][math]{[time]}[/math] to create a unique ID >number for posts on a high volume disucussion forum. > >(I don't use [cart] because I have to be able to sort chronologicaly on >this field). > >But if two people post in the same second (which has happened more lately) >I've got a problem. > >I know WebCat supports ticks (time measured in 1/60 of a second), but is >there a way to use that measure in the tags that create my ID number? Is >there a tag for 60th's of a second? No. there is not -- and you *should* be using [cart] in this situation, this is the perfect situation for it!Assuming the field is named recordID, Just use [cart] to set the recordID value, then sort alphabetically on the recordID field. Sorting this field alphabetically will inherently perform a chronological sort, in ascending or descending order, depending upon your use of as or de in the sort direction parameter. -- ================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- 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:

    
  1. Re: Using ticks (Phil Herring 2000)
  2. Re: Using ticks (Joseph D'Andrea 2000)
  3. Re: Using ticks (Kenneth Grome 2000)
  4. Re: Using ticks (Howard Wolosky 2000)
  5. Using ticks (Phil Herring 2000)
>I use [math]{[date]}[/math][math]{[time]}[/math] to create a unique ID >number for posts on a high volume disucussion forum. > >(I don't use [cart] because I have to be able to sort chronologicaly on >this field). > >But if two people post in the same second (which has happened more lately) >I've got a problem. > >I know WebCat supports ticks (time measured in 1/60 of a second), but is >there a way to use that measure in the tags that create my ID number? Is >there a tag for 60th's of a second? No. there is not -- and you *should* be using [cart] in this situation, this is the perfect situation for it!Assuming the field is named recordID, Just use [cart] to set the recordID value, then sort alphabetically on the recordID field. Sorting this field alphabetically will inherently perform a chronological sort, in ascending or descending order, depending upon your use of as or de in the sort direction parameter. -- ================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- 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:

Database Security (1998) convertWords... (2001) WCS Newbie question (1997) [WebDNA] how can i grab the contents of a post? (2011) FW: Shipping calculations (1997) Protect (1997) [WebDNA] WebDNA 7 (2011) Repeating Fields (1997) OOPS [Was: OH CRAP!!!!!- Template not found error!!! ] (1999) WebCat and image maps (1997) Setting up shop (1997) Dreamweaver UltraDev (2000) PIXO (1997) upgrading (1997) Wrapping text (1998) WebCatalog for Mac 2.0.1 Released (1997) Webcatalog server support (1997) Converting DOS database (2000) Re2: frames & carts (1997) Using Applescript to process WebCatalog functions (1998)