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:

5.0 Pricing (2003) [SHOWIF] (1997) Text data with spaces in them... (1997) Same Database needed on two machines (2002) How is it done? (1998) WebCat2 - storing unformatted date data? (1997) Thanks Grant (1997) Re:Problem (1997) ftp ng (1999) Help! WebCat2 bug (1997) sku, title, price not showing up (1998) authenticating a second user (1997) Shopping Cart Best Practices (2006) HTML Editors (1997) Odd (2001) WebCatalog f2 Installation (1997) Server Traffic Simulation (1998) NT - Thanks and Taxes (1997) writefile - continued (1997) WebCat2 - [format thousands] (1997)