Re: Ticket Ordering Question

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54982
interpreted = N
texte = Tom and Brian - These are both excellent starts and great information. Thank you very much. I can't believe I didn't think of the [(if) & (if)] combination, Brian, and thank you for explaining the format concept, Tom. Please let me know if I can return the favor. ----- Patrick Junkroski President/CEO 239.642.0304 http://www.vsm.net On Dec 15, 2003, at 12:20 PM, Tom Duke wrote: > Patrick, > > I use the following calculation to determine the current time in > 'seconds since' :- > > [math]((([math]{[date]}[/math])-1)*86400)+([math]{[time])[/math])[/ > math] > > You can then use this to compare with a fixed 'seconds since' time to > determine whether something should display or not. > > i.e > > [if > [math]((([math]{[onsaledate]}[/math]) > -1)*86400)+([math]{[onsaletime])[/math])[/ > math]<[math]((([math]{[date]}[/math])-1)*86400)+([math]{[time])[/ > math])[/math]] > [then] > > etc.... > > > - Tom > > > ------------------------------------------------------------- > 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 > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Storing dates (was: Re: Ticket Ordering Question) ( Kenneth Grome 2003)
  2. Re: Storing dates (was: Re: Ticket Ordering Question) ( Donovan Brooke 2003)
  3. Re: Storing dates (was: Re: Ticket Ordering Question) ( Joe D'Andrea 2003)
  4. Re: Storing dates (was: Re: Ticket Ordering Question) ( Kenneth Grome 2003)
  5. Re: Storing dates (was: Re: Ticket Ordering Question) ( Donovan Brooke 2003)
  6. Re: Storing dates (was: Re: Ticket Ordering Question) ( "Dan Strong" 2003)
  7. Storing dates (was: Re: Ticket Ordering Question) ( Joe D'Andrea 2003)
  8. Re: Ticket Ordering Question ( Patrick J. 2003)
  9. Re: Ticket Ordering Question ( "Tom Duke" 2003)
  10. Re: Ticket Ordering Question ( Brian Fries 2003)
  11. Ticket Ordering Question ( Patrick J. 2003)
Tom and Brian - These are both excellent starts and great information. Thank you very much. I can't believe I didn't think of the [(if) & (if)] combination, Brian, and thank you for explaining the format concept, Tom. Please let me know if I can return the favor. ----- Patrick Junkroski President/CEO 239.642.0304 http://www.vsm.net On Dec 15, 2003, at 12:20 PM, Tom Duke wrote: > Patrick, > > I use the following calculation to determine the current time in > 'seconds since' :- > > [math]((([math]{[date]}[/math])-1)*86400)+([math]{[time])[/math])[/ > math] > > You can then use this to compare with a fixed 'seconds since' time to > determine whether something should display or not. > > i.e > > [if > [math]((([math]{[onsaledate]}[/math]) > -1)*86400)+([math]{[onsaletime])[/math])[/ > math]<[math]((([math]{[date]}[/math])-1)*86400)+([math]{[time])[/ > math])[/math]] > [then] > > etc.... > > > - Tom > > > ------------------------------------------------------------- > 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 > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Patrick J.

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:

creating files dynamically (2002) Mac: LModelDirector bug fix (1997) shipping help (1998) Bad suffix error (1997) Searching multiple fields from one form field (1997) WebCat2b13 Command Reference Doc error (1997) Using Plug-In while running 1.6.1 (1997) Verisigns SDK (pay flo pro) (2002) [Replace] (2000) 3.0 [TEXT] variables (1998) Security (1998) RE: Re:Signal Raised (1997) Multiple fields on 1 input (1997) Spell Check (2000) Emailer port change (1997) Rhapsody? (1997) Associative lookup style? + bit more (1997) -tmp files (2000) Improperly coded search fails ... (2003) More on the email templates (I like it) (1997)