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:

Webcat2, WebCommerce, Mod 10 etc. (1997) WCS Newbie question (1997) Security Issues and WebCommerce Solution (1997) Replto in [SendMail] (2000) FileMaker and WebCat - .hdr OK Merge not OK (1999) sort links (2002) moving to Redhat Enterprise 3 when is WebDNA 5.2? (2003) Running 2 two WebCatalog.acgi's (1996) Merging databases (1997) [shownext] support - MacOS (1997) Search Question (2003) WebCatalog on Windows 98 (2000) What am I doing wrong? (2000) HELP! 10K hits per hour for pages that no longer exist! (2000) Pithy questions on webcommerce & siteedit (1997) syntax question, not in online refernce (1997) Emailer help....! (1997) purchase.log file (1997) Search design (1997) WebCommerce: Folder organization ? (1997)