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:

Location of Browser Info.txt file (1997) webmerch and serials - almost there (1997) WebCatalog Features (1997) WCS Newbie question (1997) Arrays (2000) [OT] (waaaay OT) (2004) shownext not showing next...still r2 (1997) RAM variables (1997) WebCat2b15MacPlugin - showing [math] (1997) [OT] Security in general [Was] WebDNA security (2004) Summing fields (1997) Questions (1998) Summary search -- speed (1997) Personal Web Server combined with Webcatalog 2.1 (1998) WebCat2_Mac RETURNs in .db (1997) wrong input values? (1997) [Webcat 2]Next (1997) WebCommerce: Folder organization ? (1997) Exporting from Excel (1998) Frustration with formulas.db (1999)