Re: More DateMath problems

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13772
interpreted = N
texte = At 10:01 AM -0800 10/6/97, Gary Richter is rumored to have typed: > What happens when you remove the %m? per the docs this formats the output > to month 01 thru 12.[FORMAT Days_to_Date][MATH]{01/00/0000}[/MATH][/FORMAT]

[FORMAT Days_to_Date][MATH]{02/00/0000}[/MATH][/FORMAT]

[FORMAT Days_to_Date][MATH]{03/00/0000}[/MATH][/FORMAT]

[FORMAT Days_to_Date][MATH]{04/00/0000}[/MATH][/FORMAT]

[FORMAT Days_to_Date][MATH]{05/00/0000}[/MATH][/FORMAT]

Returns: 12/31/0000 01/31/0000 02/28/0000 03/31/0000 04/30/0000So it looks like things are off by one day (but only when no year is specified).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)
At 10:01 AM -0800 10/6/97, Gary Richter is rumored to have typed: > What happens when you remove the %m? per the docs this formats the output > to month 01 thru 12.[FORMAT Days_to_Date][math]{01/00/0000}[/MATH][/FORMAT]

[FORMAT Days_to_Date][math]{02/00/0000}[/MATH][/FORMAT]

[FORMAT Days_to_Date][math]{03/00/0000}[/MATH][/FORMAT]

[FORMAT Days_to_Date][math]{04/00/0000}[/MATH][/FORMAT]

[FORMAT Days_to_Date][math]{05/00/0000}[/MATH][/FORMAT]

Returns: 12/31/0000 01/31/0000 02/28/0000 03/31/0000 04/30/0000So it looks like things are off by one day (but only when no year is specified).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:

Notepad problems (1998) Does ".tpl" index with SE's? (2003) Protecting webdelivery (1997) Sendmail truncation in Eudora Clients (1998) Date search bug (1997) can webcat trigger executable files? (2000) YA 4.5.1 problem (2004) carriage returns in data (1997) Calculating Shipping charges for multiple items and qtys > 1 (1997) Location of Browser Info.txt file (1997) Who is doing sign-ups-got it (1998) WebCommerce: Folder organization ? (1997) WCS Newbie question (1997) 2.0 Info (1997) Scope of variables in multi include files (2000) Username for Admin Group (1997) NT vs Mac (1997) Separate SSL Server (1997) Banner ads (2000) WC2b15 File Corruption (1997)