Re: Adding a month and the 31st (bug?)

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 42060
interpreted = N
texte = John Peacock wrote: > Do somthing like this instead (not inside an [orderfile] context): > > [math date]thismonth=[format days_to_date %m/01/%Y]{[date]}[/math] > [format days_to_date > %m/%Y][math]{[thismonth]}+{00/00/0000}[/math][/format] > [format days_to_date > %m/%Y][math]{[thismonth]}+{01/00/0000}[/math][/format] > Actually, do this instead (which has the advantage of actually working):[format days_to_date %m/%Y][math]{[date %m/01/%Y]}+{00/00/0000}[/math][/format] [format days_to_date %m/%Y][math]{[date %m/01/%Y]}+{01/00/0000}[/math][/format] ...Johnp.s. NOTE TO SELF - always test code before posting...-- 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 ------------------------------------------------------------- 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:

    
  1. Re: Adding a month and the 31st (bug?) (John Peacock 2002)
  2. Re: Adding a month and the 31st (bug?) (John Peacock 2002)
  3. Re: Adding a month and the 31st (bug?) (Matthew Bohne 2002)
  4. Re: Adding a month and the 31st (bug?) (John Peacock 2002)
  5. Adding a month and the 31st (bug?) (Matthew Bohne 2002)
John Peacock wrote: > Do somthing like this instead (not inside an [orderfile] context): > > [math date]thismonth=[format days_to_date %m/01/%Y]{[date]}[/math] > [format days_to_date > %m/%Y][math]{[thismonth]}+{00/00/0000}[/math][/format] > [format days_to_date > %m/%Y][math]{[thismonth]}+{01/00/0000}[/math][/format] > Actually, do this instead (which has the advantage of actually working):[format days_to_date %m/%Y][math]{[date %m/01/%Y]}+{00/00/0000}[/math][/format] [format days_to_date %m/%Y][math]{[date %m/01/%Y]}+{01/00/0000}[/math][/format] ...Johnp.s. NOTE TO SELF - always test code before posting...-- 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 ------------------------------------------------------------- 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/ John Peacock

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:

Help name our technology! (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Can a Get or Post throw off a Ping? (1998) HELP WITH DATES (1997) RE: [sendmail]- bcc? (1998) RE: Adding headers to email (1997) re: sorting and summarizing (1998) WebCat virtual postcard is done! Thanks for the help! (1998) sort problems....bug or brain fart? (1997) 2.0.1 new commands and contexts (1997) TCPConnect to query for Domain expiration (2000) test (2004) For those of you not on the WebCatalog Beta... (1997) table import function crashes server (2008) Include file not working on remote directory. (2004) hmmm (2006) A few questions about server configuration (2000) DrWatson Error! (1999) Bulletin Board.... (2000) RE: what characters are replaced for tab and CR? (1998)