Re: Date in IF ELSE Comparison
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 59949
interpreted = N
texte = We do this by storing the discount and expiring together in a db. When we check to see if the discouunt code is valid we also check to see if the epiration date is passed todays date. SImple math date check.----- Original Message ----- From: "Alan White"
To: "WebDNA Talk" Sent: Tuesday, November 09, 2004 8:13 AMSubject: Re: Date in IF ELSE Comparison>I have the discounting method totally sorted but I am just confused as to >how to execute expiry dates on any blanket discount vouchers we issue. For >example : 50% off all Jackets !!! Offer expires 24/12/2004.>> Cheers> Alan>> Donovan Brooke wrote:>>> Alan White wrote:>>>>> lmao... you are right when you say that you cant read that in my >>> description although what you are saying would certainly make sense ;-)>>>>>> I guess the aim of what I am trying to acheive would be to have seasonal >>> sales where offer expires 24/12/2004 for christmas purchases or >>> 01/02/2004 for a january sale (as an example).>>>>>> Is this possible using the method you suggest?>>>>>> Thanks>>> Alan>>>>>> is the discount per product or based off of subtotal? Depends on what the>> discount applies to regarding how this might be done...>> One can use the formulas database easily enough to>> set specific numbers per product added. Will you have set number for>> the discount or will it be a percent of the price or subtotal?>>>> Donovan>>>>>>>>>>> -------------------------------------------------------------> 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:
We do this by storing the discount and expiring together in a db. When we check to see if the discouunt code is valid we also check to see if the epiration date is passed todays date. SImple math date check.----- Original Message ----- From: "Alan White" To: "WebDNA Talk" Sent: Tuesday, November 09, 2004 8:13 AMSubject: Re: Date in IF ELSE Comparison>I have the discounting method totally sorted but I am just confused as to >how to execute expiry dates on any blanket discount vouchers we issue. For >example : 50% off all Jackets !!! Offer expires 24/12/2004.>> Cheers> Alan>> Donovan Brooke wrote:>>> Alan White wrote:>>>>> lmao... you are right when you say that you cant read that in my >>> description although what you are saying would certainly make sense ;-)>>>>>> I guess the aim of what I am trying to acheive would be to have seasonal >>> sales where offer expires 24/12/2004 for christmas purchases or >>> 01/02/2004 for a january sale (as an example).>>>>>> Is this possible using the method you suggest?>>>>>> Thanks>>> Alan>>>>>> is the discount per product or based off of subtotal? Depends on what the>> discount applies to regarding how this might be done...>> One can use the formulas database easily enough to>> set specific numbers per product added. Will you have set number for>> the discount or will it be a percent of the price or subtotal?>>>> Donovan>>>>>>>>>>> -------------------------------------------------------------> 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/
"WebDna @ Inkblot Media"
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:
WebCatalog 2.0.1 for Windows released! (1997)
Closing Databases (1998)
Date format (2000)
A little help on e-mail (HELP!!! :-) ) (1998)
syntax question, not in online refernce (1997)
OT: need perl help, and question about switches (2007)
Founditems context returning only 1 item (1997)
Protect (1997)
Fun with dates (1997)
CMSBuilder (2004)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
WC2f3 (1997)
2.0 Info (1997)
Special characters in field names (1998)
[WriteFile] problems (1997)
Sku numbers (1997)
killer-format in cart (1998)
date and time stamp (2003)
database visibility (2000)
Running _every_ page through WebCat ? (1997)