Re: Help with dates
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 38254
interpreted = N
texte = ----- Original Message -----From: John Peacock
To: WebCatalog Talk Sent: Wednesday, August 29, 2001 4:35 PMSubject: Re: Help with dates> Gorana Leahy wrote:> >> > Hi all,> >> > I hope that someone can help me with this problem.> >> > I need to display quantity for a given number of months and this is thecode> > I am using:> >> > [loop start=0&end=[math][txtmonths]-1[/math]]> > > > > > [search db=some.db&eqIDdatarq=[ID]&rnDaydatarq=01/[MyMonth]> > 31/[MyMonth]&Daytype=date]> > [founditems]> > > > > > [/founditems]> > [/search]> >
[MyMonth]> > [math]MonthTotal[/math]> > [/loop]> >> > These are the results:> >> > 08/2001 1106> > 07/2001 1044> > 06/2001 0> > 05/2001 0> > 04/2001 0> > 03/2001 0> > 03/2001 0> > 01/2001 0> > 12/2000 0> > 11/2000 0> >> > For some reason I keep on getting March instead of February.> > I tryed everything to solve the problem but nothing works.> > PLEASE HELP?! :)>>> Try using [math date] instead (as the docs say):>> [math date]{[date]}-{00/[index]/0000}[/Math]>> HTH>> John>> --> John Peacock> Director of Information Research and Technology> Rowman & Littlefield Publishing Group> 4720 Boston Way> Lanham, MD 20706> 301-459-3366 x.5010> fax 301-429-5747>I tried that and the result is still the same.Gorana-------------------------------------------------------------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:
----- Original Message -----From: John Peacock To: WebCatalog Talk Sent: Wednesday, August 29, 2001 4:35 PMSubject: Re: Help with dates> Gorana Leahy wrote:> >> > Hi all,> >> > I hope that someone can help me with this problem.> >> > I need to display quantity for a given number of months and this is thecode> > I am using:> >> > [loop start=0&end=[math][txtmonths]-1[/math]]> > > > > > [search db=some.db&eqIDdatarq=[ID]&rnDaydatarq=01/[MyMonth]> > 31/[MyMonth]&Daytype=date]> > [founditems]> > > > > > [/founditems]> > [/search]> >
[MyMonth]> > [math]MonthTotal[/math]> > [/loop]> >> > These are the results:> >> > 08/2001 1106> > 07/2001 1044> > 06/2001 0> > 05/2001 0> > 04/2001 0> > 03/2001 0> > 03/2001 0> > 01/2001 0> > 12/2000 0> > 11/2000 0> >> > For some reason I keep on getting March instead of February.> > I tryed everything to solve the problem but nothing works.> > PLEASE HELP?! :)>>> Try using [math date] instead (as the docs say):>> [math date]{[date]}-{00/[index]/0000}[/Math]>> HTH>> John>> --> John Peacock> Director of Information Research and Technology> Rowman & Littlefield Publishing Group> 4720 Boston Way> Lanham, MD 20706> 301-459-3366 x.5010> fax 301-429-5747>I tried that and the result is still the same.Gorana-------------------------------------------------------------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/
Gorana Leahy
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 - more [date] problems (1997)
Tax only sometimes (2002)
Format 1.15 to 1:15:00 or 01:15:00 (2002)
database size? (1997)
ups quickcost [repost] (1999)
Limiting user access to .tmpl files (1997)
Formating Tables w/[founditems] (1998)
OT: Variables in printed URL (2007)
can WC render sites out? (1997)
Providing hard copy of database to client (1997)
Email within tmpl ? (1997)
email address with spaces (2001)
Extended [ConvertChars] (1997)
help on HMAC_SHA1 or ROMCARD gateway (2004)
OT - asp snippet similar to [!][/!] (2003)
Bug Report, maybe (1997)
4.0 upgrade and existing webMerchant (2000)
File Upload (1997)
vars (2000)
WebCat2b13MacPlugIn - syntax to convert date (1997)