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:
SendMail - Idea (2000)
Unable to view next 101-200 (1997)
Cart Number Propagation (1997)
Great product and great job ! (1997)
Two submit buttons ? (1997)
Merging databases (1997)
History of beta changes? (1999)
Re1000001: Setting up shop (1997)
[isfile] ? (1997)
Multiple Ad databases? (1997)
Search design (1997)
Problem with version 4 browsers (1998)
Verify entry into a text field (2005)
How fast is your server? (2002)
alternatives for WebDNA (2004)
Physical Proximity searches (2000)
WebCat2 beta 11 - new prefs ... (1997)
using showpage and showcart commands (1996)
Fulfillment e-mail? (1998)
What is WebDNA (1997)