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:

problems with 2 tags (1997) pc (1997) Web*SSL and WebCatalog (1997) Summing fields (1997) problems with 2 tags (1997) Sending Email (2004) color and size options / ARCHIVES (1997) Comments in db? (1997) Shopping problems with 2.1b3 acgi (1997) WebCatalog Programmer looking for a new job (2001) [Webcat 2]Next (1997) if then logic (2005) FlushDatabase Suggestion (1998) Emailer (1997) WebStar Secure on other machine (1997) Price recalc based on quantity (1997) Bit off subject -- Faxing orders (1997) Is Typhoon 4 or Typhoon Pro a product? (2000) quantity minimum problem (1997) [LOOKUP] (1997)