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:

WebCat2b13MacPlugIn - [include] (1997) remove.htm from result (2005) eMailer replacement? (1998) Syntax of a URL for including ?cart=[cart] and #something? (1998) Automatic POST arg sending? (1998) In Digest Dijon (2000) date math [2.x] (1999) Pricing based on quantity (2000) How do I pass [cart] when user clicks back (2000) Multiple Pulldowns (1997) [OT] 'Email this story to a friend' (2003) Viewing old carts (was FEW QUESTIONS) (1997) This [search] worked before update to 4.5.1 (2003) What are SMSI's upgrade policies? (2003) Search/sort in URL Was: GuestBook example (1997) Emailer Set Up (1997) [WebDNA] Silly question (2009) New Plug-in and Type 11 errors (1997) spawn (1998) Crashes and prior posting (2006)