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:

RE: Can a database get stomped by simultaneous access? (1997) Frames and cart values (1998) Writefile problem (1999) ODBC-Interface (2000) Redirect and passing more than one variable... (2002) Database (2000) Re:Subject: Mail Server Software (1998) Problems with ^ could be solved with [REPLACE CHARACTERS] (1997) searchable list archive (1997) Path of Events (1999) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997) missing records (1998) RE: Adding a product from another site (1997) WC2b12: Yes, Formulas.db is for real (1997) RAM variables (1997) Date Comparison (without mistake) (2003) WEBDNA tags don't process in a .js file (2002) [include ...] behavior (1997) [WebDNA] Test - no messages since 9th of June 2009. (2009) Error Log.db --however (1997)