Re: Date to days

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 40721
interpreted = N
texte = Loop.[math]the.end={[enddate]}-{[startdate]}[/math][loop start=0&end=[the.end]] [format days_to_date][math]{[startdate]}+[index][/format][/loop]Or something like that :)On 6/19/02 2:48 PM, marc malacarme mashed the following keys :> Any one know how to get days from a date range. > > I have 6/2/2002 - 5/2/2002 I would like to be able to get the days in the > range. This above would give me 31. I know I can do it with a db > (Jan=31,Feb=28,Mar=31 etc) and a bunch of math, but I was hoping for > something a little easier. > > Any thoughts would be appreciated before I started on my long typing > journey. > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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: date to days? ( Stuart Tremain 2005)
  2. date to days? ( Scott Szretter 2005)
  3. Re: Date to days (Aaron Lynch 2002)
  4. Re: Date to days (Aaron Lynch 2002)
  5. Date to days (marc malacarme 2002)
Loop.[math]the.end={[enddate]}-{[startdate]}[/math][loop start=0&end=[the.end]] [format days_to_date][math]{[startdate]}+[index][/format][/loop]Or something like that :)On 6/19/02 2:48 PM, marc malacarme mashed the following keys :> Any one know how to get days from a date range. > > I have 6/2/2002 - 5/2/2002 I would like to be able to get the days in the > range. This above would give me 31. I know I can do it with a db > (Jan=31,Feb=28,Mar=31 etc) and a bunch of math, but I was hoping for > something a little easier. > > Any thoughts would be appreciated before I started on my long typing > journey. > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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/ Aaron Lynch

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:

Hiding HTML and page breaks (1997) adding a unique value to each record in an existing andlive db (2002) WebCatalog can't find database (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) pop up menu's (1998) WebCatalog f2 Installation (1997) Backup Server/Load Balancing (2001) Webcatalog Future?!? (2000) WebCat2 - Getting to the browser's username/password data (1997) Date sorting (1997) update on wn searching (1997) SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) Using Plug-In while running 1.6.1 (1997) Signal Raised Error (1997) Emailer again (1997) two of the same named db's open at once (1998) Unusual characters in the db ... (2002) How true is this? (1999) RAM variables (1997) Globals folder... (2003)