More DateMath problems

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13763
interpreted = N
texte = I was trying to build a little calendar using a loop, when I came across the following error...The code: [FORMAT Days_to_Date %m][MATH]{1/00/0000}[/MATH][/FORMAT] [FORMAT Days_to_Date %m][MATH]{2/00/0000}[/MATH][/FORMAT] [FORMAT Days_to_Date %m][MATH]{3/00/0000}[/MATH][/FORMAT] [FORMAT Days_to_Date %m][MATH]{4/00/0000}[/MATH][/FORMAT] [FORMAT Days_to_Date %m][MATH]{5/00/0000}[/MATH][/FORMAT]Returns: 12 01 02 03 04When I change the YEAR place to 2 digits: [FORMAT Days_to_Date %m][MATH]{1/00/00}[/MATH][/FORMAT]

[FORMAT Days_to_Date %m][MATH]{2/00/00}[/MATH][/FORMAT]

[FORMAT Days_to_Date %m][MATH]{3/00/00}[/MATH][/FORMAT]

[FORMAT Days_to_Date %m][MATH]{4/00/00}[/MATH][/FORMAT]

[FORMAT Days_to_Date %m][MATH]{5/00/00}[/MATH][/FORMAT]

I get: 01 02 02 03 04I get the same results if I put 01, 02, 03, 04 ,05 in the months place.Just when I thought all the bugs were worked out of date math....MichaelMichael Winston *By Phone!: (503)/652/8815 x341 Internet Coordinator *By e-mail!: michaelw@dhorse.com Dark Horse Comics, Inc. *By web!: http://www.dhorse.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: More DateMath problems (Michael Winston 1997)
  2. Re: More DateMath problems (John Hill 1997)
  3. More DateMath problems (Michael Winston 1997)
  4. More DateMath problems (Michael Winston 1997)
  5. Re: More DateMath problems (grichter@panavise.com (Gary Richter) 1997)
I was trying to build a little calendar using a loop, when I came across the following error...The code: [FORMAT Days_to_Date %m][math]{1/00/0000}[/MATH][/FORMAT] [FORMAT Days_to_Date %m][math]{2/00/0000}[/MATH][/FORMAT] [FORMAT Days_to_Date %m][math]{3/00/0000}[/MATH][/FORMAT] [FORMAT Days_to_Date %m][math]{4/00/0000}[/MATH][/FORMAT] [FORMAT Days_to_Date %m][math]{5/00/0000}[/MATH][/FORMAT]Returns: 12 01 02 03 04When I change the YEAR place to 2 digits: [FORMAT Days_to_Date %m][math]{1/00/00}[/MATH][/FORMAT]

[FORMAT Days_to_Date %m][math]{2/00/00}[/MATH][/FORMAT]

[FORMAT Days_to_Date %m][math]{3/00/00}[/MATH][/FORMAT]

[FORMAT Days_to_Date %m][math]{4/00/00}[/MATH][/FORMAT]

[FORMAT Days_to_Date %m][math]{5/00/00}[/MATH][/FORMAT]

I get: 01 02 02 03 04I get the same results if I put 01, 02, 03, 04 ,05 in the months place.Just when I thought all the bugs were worked out of date math....MichaelMichael Winston *By Phone!: (503)/652/8815 x341 Internet Coordinator *By e-mail!: michaelw@dhorse.com Dark Horse Comics, Inc. *By web!: http://www.dhorse.com/ Michael Winston

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:

Number of Line Items (1998) Image maps/Webcat (1997) [ENCRYPT seed=xxxxx] length (2000) 2 easy questions re: [showif] and [sendmail] (1997) 2.0 Info (1997) [WebDNA] Installing 6.0 onto Server 2008 (2011) Webstar 1.3.1 PPC (1997) Getting around DOS filenames (2000) HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997) What am I missing (1997) IIS Brain Dead (1998) Mac Vs WindowsNT (1997) webcat (2000) Search in 2 or more catalogs (1997) Variable prices and Formulas.db (1997) need to add a sku field to an existing db (2005) [WebDNA] Cookie behavior (2010) WebCat2b15MacPlugin - [protect] (1997) WebCommerce: Folder organization ? (1997) Sort Order on a page search (1997)