Re: Date subtraction

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44239
interpreted = N
texte = I reckon so.. ;)Rainy weekend here tho'While we're at it, the formula I was working on was to extrapolate the sales in a given month based on the sales so far like so:At the current rate, the sales this month will be: [math]([totalordervalue]*[days_in_month])/({[date]-[startdate]})[/math]Which for today would look like:[math] (25500*31)/18[/math]Assuming our sales to date in October are $25500. Any spiffy way have [days_in_month] equal the days in the current month?Thanks a million,-Will On Saturday, October 19, 2002, at 07:46 PM, Alain Russell wrote:> Must have been a hint from somewhere to not be working on the weekend > .. > What do you reckon .. > >> Ah, yes >> >> That was it >> >> Thanks Alain... >> >> ! >> >> -Will >> >> >> On Saturday, October 19, 2002, at 07:39 PM, Alain Russell wrote: >> >>> Do you have your prefs set correctly .. ? >>> I get 19 when I switch the dates to match my preferences .. >>> >>>> Oh, and that'd be WebCat 4.5.0 on MacOSXS 10.2.1 >>>> >>>> -Will >>>> >>>> On Saturday, October 19, 2002, at 07:32 PM, NovaDerm Skincare >>>> Science >>>> wrote: >>>> >>>>> Well, dang, that's what I thought too. >>>>> >>>>> But >>>>> >>>>> >>>>>> [math]{10/20/2002}-{10/01/2002}[/math] >>>>>> >>>>>> Alain >>>>>> >>>>>> >>>>> >>>>> Gives me 182 >>>>> >>>>> >>>>> ??? >>>>> >>>>> -Will >>>>> >>>>> >>>>> ------------------------------------------------------------- >>>>> 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://search.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://search.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://search.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://search.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://search.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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Date subtraction (Alain Russell 2002)
  2. Re: Date subtraction (John Hill 2002)
  3. Re: Date subtraction (Matthew Bohne 2002)
  4. Re: Date subtraction (John Hill 2002)
  5. Re: Date subtraction (Rob Marquardt 2002)
  6. Re: Date subtraction (John Hill 2002)
  7. Re: Date subtraction (NovaDerm Skincare Science 2002)
  8. Re: Date subtraction (John Hill 2002)
  9. Re: Date subtraction (NovaDerm Skincare Science 2002)
  10. Re: Date subtraction (Alain Russell 2002)
  11. Re: Date subtraction (NovaDerm Skincare Science 2002)
  12. Re: Date subtraction (Alain Russell 2002)
  13. Re: Date subtraction (NovaDerm Skincare Science 2002)
  14. Re: Date subtraction (NovaDerm Skincare Science 2002)
  15. Re: Date subtraction (Alain Russell 2002)
  16. Re: Date subtraction (Gary Krockover 2002)
  17. Re: Date subtraction (Alain Russell 2002)
  18. Date subtraction (NovaDerm Skincare Science 2002)
I reckon so.. ;)Rainy weekend here tho'While we're at it, the formula I was working on was to extrapolate the sales in a given month based on the sales so far like so:At the current rate, the sales this month will be: [math]([totalordervalue]*[days_in_month])/({[date]-[startdate]})[/math]Which for today would look like:[math] (25500*31)/18[/math]Assuming our sales to date in October are $25500. Any spiffy way have [days_in_month] equal the days in the current month?Thanks a million,-Will On Saturday, October 19, 2002, at 07:46 PM, Alain Russell wrote:> Must have been a hint from somewhere to not be working on the weekend > .. > What do you reckon .. > >> Ah, yes >> >> That was it >> >> Thanks Alain... >> >> ! >> >> -Will >> >> >> On Saturday, October 19, 2002, at 07:39 PM, Alain Russell wrote: >> >>> Do you have your prefs set correctly .. ? >>> I get 19 when I switch the dates to match my preferences .. >>> >>>> Oh, and that'd be WebCat 4.5.0 on MacOSXS 10.2.1 >>>> >>>> -Will >>>> >>>> On Saturday, October 19, 2002, at 07:32 PM, NovaDerm Skincare >>>> Science >>>> wrote: >>>> >>>>> Well, dang, that's what I thought too. >>>>> >>>>> But >>>>> >>>>> >>>>>> [math]{10/20/2002}-{10/01/2002}[/math] >>>>>> >>>>>> Alain >>>>>> >>>>>> >>>>> >>>>> Gives me 182 >>>>> >>>>> >>>>> ??? >>>>> >>>>> -Will >>>>> >>>>> >>>>> ------------------------------------------------------------- >>>>> 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://search.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://search.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://search.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://search.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://search.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://search.smithmicro.com/ NovaDerm Skincare Science

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:

[WebDNA] version 7.1 on ubuntu apache2 virtual host config (2014) all records returned. (1997) RE: strip .0 off off IPaddress (1999) Zipcodes (1998) one item in several different categories? (2000) Status? (2000) Re:Emailer and encryption (1997) Uploading a file (2000) [OT] Read and weep (2003) Re:multiple digests, please stop (1997) Re[2]: The future of WebCatalog is coming with 4.0... (2000) Looking for easy way to back up dbs... (2003) Help name our technology! (1997) using showpage and showcart commands (1996) too many nested tags ... (1997) [OT] will work for... (2003) searchable list archive (1997) Feedback on new features (2000) acgi to plugin migration problems (2000) Plugin or CGI or both (1997)