Re: billing system
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 52789
interpreted = N
texte = Rob Marquardt wrote:> on 9/11/2003 12:53 am, Jesse Williams-Proudman at j.list@blueboxdev.com so> noted...> > >>[math date]{01/30/2003}+{01/00/0000}[/math] will add 1 month and give you>>the correct day.> > > Except that gives 03/02/2003, which doesn't sound like it'd be what they> want.> The answer is to always start the subscription on the closest 1st day of the month. So if they signed up Jan 30, their next bill would be Mar 1. If they signed up Feb 5, it would also be Mar 1.If you assume that the user is going to be a long term member, you might even give them the extra days free (i.e. always create them as starting on the first of the next month, instead of the closest).John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------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:
Rob Marquardt wrote:> on 9/11/2003 12:53 am, Jesse Williams-Proudman at j.list@blueboxdev.com so> noted...> > >>[math date]{01/30/2003}+{01/00/0000}[/math] will add 1 month and give you>>the correct day.> > > Except that gives 03/02/2003, which doesn't sound like it'd be what they> want.> The answer is to always start the subscription on the closest 1st day of the month. So if they signed up Jan 30, their next bill would be Mar 1. If they signed up Feb 5, it would also be Mar 1.If you assume that the user is going to be a long term member, you might even give them the extra days free (i.e. always create them as starting on the first of the next month, instead of the closest).John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------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/
John Peacock
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:
WebCat editing, SiteGuard & SiteEdit (1997)
[Sum] function? (1997)
Online Docs? (1997)
SMTP Mail Server (2003)
[ShowNext] (1997)
[shownext] and sort (1998)
Error with [applescript] (1999)
Sort Order on a page search (1997)
WebDNA-Talk Digests (1997)
[url] link (1998)
Why is deleting so slow? (2002)
"+" in math context (2004)
Stumpted Again (1997)
SendMail on OS X (2003)
can WC render sites out? (1997)
Next (1997)
setting taxable to true (1997)
Founditems context returning only 1 item (1997)
Sales Tax db (1998)
PCS Frames (1997)