Re: Days in range

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 40724
interpreted = N
texte = marc malacarme wrote: > I couldnąt find anything better so here it is if anyone is interested: > > Days in date range: You need to give it 2 values [min_date] & [max_date] and > it will spit out [total_days]. You'll need a db called months.db with the > following(month_name is optional):[math]Total_days={[max_date]}-{[min_date]}+1[/math]should work. Enclosing a date in {}'s converts it to number of days since the epoch, so the difference is just the number of days between the two dates.John------------------------------------------------------------- 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: Days in range (John Peacock 2002)
  2. Days in range (marc malacarme 2002)
marc malacarme wrote: > I couldnąt find anything better so here it is if anyone is interested: > > Days in date range: You need to give it 2 values [min_date] & [max_date] and > it will spit out [total_days]. You'll need a db called months.db with the > following(month_name is optional):[math]Total_days={[max_date]}-{[min_date]}+1[/math]should work. Enclosing a date in {}'s converts it to number of days since the epoch, so the difference is just the number of days between the two dates.John------------------------------------------------------------- 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/ 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:

Robert Minor duplicate mail (1997) [WebDNA] [BULK] Web Merchant Authorize net issues (2011) [WebDNA] WebDNA future (2010) searching illegal HTML (2002) TCP Connect for a newbie (2002) showif and cart (1998) [WebDNA] Grep (2009) [WebDNA] Bug in [thisurlplusget] on v7 (2011) Bulk Email >>>>Any ideas? (2001) RE: type 2 errors with ssl server (1997) WebCat2b13 Command Reference Doc error (1997) http://www.smithmicro.com/WebDNAReference/ current? (2000) WebCat2 - storing unformatted date data? (1997) more on quicktime test stuff (1997) Reload adding to cart (2001) Quit revisited (1997) auto-stripping of spaces (1997) Digest for 4/18/97 (1997) Re:no [search] with NT (1997) I try hard to think positively (1998)