Re: Old code new problem?

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59227
interpreted = N
texte = Look at the math... Using today's date (in m/d/Y) format, your math equation for the second = iteration would be: 8/31/2004 + 01/00/0000 =3D 9/31/2004, which is not a legitimate date, in = fact the engine will calculate it to 10/1/2004, thereby giving you the = 'Oct' for the month. change you math to... [Format Days_To_Date %b][Math]{[date = format=3D%m/1/%Y]}+{0[index]/00/0000}[/Math][/Format] this should work no matter what the day of the month is. -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Donovan Brooke Sent: Tuesday, August 31, 2004 02:41 PM To: WebDNA Talk Subject: Old code new problem? Hello, Can anyone see why this code would give me results like: Aug Oct Oct Nov Nov etc. I believe it used to work fine. M: thx, Donovan P.S. WebDNA - Enterprise Edition,6.0 --=20 = =3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3D= o=3Do=3Do=3Do=3Do=3Do=3Do DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us = =3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3D= o=3Do=3Do=3Do=3Do=3Do=3Do ------------------------------------------------------------- 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://webdna.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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Old code new problem? ( "Scott Anderson" 2004)
  2. Re: Old code new problem? ( Patrick McCormick 2004)
  3. Re: Old code new problem? ( Donovan Brooke 2004)
  4. Re: Old code new problem? ( "Scott Anderson" 2004)
  5. Re: Old code new problem? ( Stuart Tremain 2004)
  6. Re: Old code new problem? ( Donovan Brooke 2004)
  7. Re: Old code new problem? ( Stuart Tremain 2004)
  8. Re: Old code new problem? ( Donovan Brooke 2004)
  9. Old code new problem? ( Donovan Brooke 2004)
Look at the math... Using today's date (in m/d/Y) format, your math equation for the second = iteration would be: 8/31/2004 + 01/00/0000 =3D 9/31/2004, which is not a legitimate date, in = fact the engine will calculate it to 10/1/2004, thereby giving you the = 'Oct' for the month. change you math to... [Format Days_To_Date %b][math]{[date = format=3D%m/1/%Y]}+{0[index]/00/0000}[/Math][/Format] this should work no matter what the day of the month is. -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Donovan Brooke Sent: Tuesday, August 31, 2004 02:41 PM To: WebDNA Talk Subject: Old code new problem? Hello, Can anyone see why this code would give me results like: Aug Oct Oct Nov Nov etc. I believe it used to work fine. M: thx, Donovan P.S. WebDNA - Enterprise Edition,6.0 --=20 = =3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3D= o=3Do=3Do=3Do=3Do=3Do=3Do DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us = =3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3D= o=3Do=3Do=3Do=3Do=3Do=3Do ------------------------------------------------------------- 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://webdna.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://webdna.smithmicro.com/ "Scott Anderson"

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:

WebCatalog Plug-in for Webstar. (1997) space (2002) Can this be done? (1997) [WebDNA] v7 Stress Test and Strange Behaviour (2012) Rumpus/Typhoon modules included in Typhoon ... (1997) WebCat2 several catalogs? (1997) Field name-subcategory (1997) Limit on nested [ShowIf]'s? (1997) $Replace with [founditems] (1997) [WebDNA] inputed text getting scrambled up in DB (2012) PCS Emailer's role ? (1997) using a link like http://www.domain.com/username (2000) Multiply prices (1997) Formulas.db + Users.db (1997) RE:DatabaseHelper (1997) search form problem.. (1997) Separate server for jpg/gif files (1998) limitation found on group searching (1997) [WriteFile] problems (1997) Commitdatabase tag (1998)