Re: Date to days
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 40722
interpreted = N
texte = I think I totally misunderstood. I thought you wanted Monday, Tuesday, etc.You just want to know how many days between two dates?[math]{[enddate]}-{[startdate]}[/math]On 6/19/02 3:17 PM, Aaron Lynch mashed the following keys :> 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/-------------------------------------------------------------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:
I think I totally misunderstood. I thought you wanted Monday, Tuesday, etc.You just want to know how many days between two dates?[math]{[enddate]}-{[startdate]}[/math]On 6/19/02 3:17 PM, Aaron Lynch mashed the following keys :> 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/-------------------------------------------------------------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:
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
problem: search crashes webstar (1997)
Multiple download orders of the same product? (1997)
[WebDNA] SkipJack Authorize interface help (2009)
Writing to triggers.db (2005)
StandardConversions.db (1998)
RE: Problems reading files created by WC (1997)
For those of you not on the WebCatalog Beta... (1997)
Change in Host? (1999)
SiteEdit NewFile.html ? (1997)
Show if time tags (1997)
Kaaaaahhhhhhhnnnnnnn! (1997)
Multiple security dbs (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Showing unopened cart (1997)
WebCat2 - [format thousands] (1997)
sort problems....bug or brain fart? (1997)
ShipCosts database (1997)
Timer Values on [redirect] (1998)
WebCatalog Plug-in for Webstar. (1997)