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 JunkroskiPresident/CEO239.642.0304http://www.vsm.netOn 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:
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 JunkroskiPresident/CEO239.642.0304http://www.vsm.netOn 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:
emailer error 103 part ii (1997)
[WebDNA] WebDNA AJAX_Fileuploader (2013)
Search on Dates (2000)
MOOOOOO (2000)
b12 cannot limit records returned and more. (1997)
French characters in variables (2001)
Re1000001: Setting up shop (1997)
4.0 send email ticks. . (2000)
Problems reading files created by WC (1997)
SendNews (1999)
Emailer (WebCat2) (1997)
WebCat2: Items xx to xx shown, etc. (1997)
Running a store on BOTH http and https (1998)
stats (2001)
Logic Help Needed (2003)
RE: Formulas.db + Users.db (1997)
convert characters (2003)
Setting up shop (1997)
formulas.db ?? (1998)
Shopping cart now bad (1997)