Re: Last Day of the Month

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62760
interpreted = N
texte = Ok, call me dense, but I don't understand the value of this? [format days_to_date %d][math]{4/0/2005}[/math][/format] gives 31, when it should be 30 for April [format days_to_date %d][math]{5/0/2005}[/math][/format] gives 30 when it should be 31 for May [format days_to_date %d][math]{6/0/2005}[/math][/format] gives 31 when it should be 30 for June etc. Do you do further math based on the month to the proper value? Or is this just a Monday afternoon thing that I'm not grasping? :O GJK At 02:51 PM 8/8/2005, you wrote: >Look for day "0" of the following month... > >[format days_to_date %d][math]{3/0/2004}[/math][/format] > >gives you 29, while > >[format days_to_date %d][math]{3/0/2005}[/math][/format] > >gives you 28 > >- Brian ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Last Day of the Month ( "Gary Krockover" 2005)
  2. Re: Last Day of the Month ( "Brian Boegershausen" 2005)
  3. Re: Last Day of the Month ( Donovan Brooke 2005)
  4. Re: Last Day of the Month ( Stuart Tremain 2005)
  5. Re: Last Day of the Month ( "Gary Krockover" 2005)
  6. Re: Last Day of the Month ( Stuart Tremain 2005)
  7. Re: Last Day of the Month ( Donovan Brooke 2005)
  8. Re: Last Day of the Month ( devaulw@onebox.com 2005)
  9. Re: Last Day of the Month ( Gary Krockover 2005)
  10. Re: Last Day of the Month ( Donovan Brooke 2005)
  11. Re: Last Day of the Month ( Gary Krockover 2005)
  12. Re: Last Day of the Month ( Donovan Brooke 2005)
  13. Re: Last Day of the Month ( Brian Fries 2005)
  14. Last Day of the Month ( Clint Davis 2005)
Ok, call me dense, but I don't understand the value of this? [format days_to_date %d][math]{4/0/2005}[/math][/format] gives 31, when it should be 30 for April [format days_to_date %d][math]{5/0/2005}[/math][/format] gives 30 when it should be 31 for May [format days_to_date %d][math]{6/0/2005}[/math][/format] gives 31 when it should be 30 for June etc. Do you do further math based on the month to the proper value? Or is this just a Monday afternoon thing that I'm not grasping? :O GJK At 02:51 PM 8/8/2005, you wrote: >Look for day "0" of the following month... > >[format days_to_date %d][math]{3/0/2004}[/math][/format] > >gives you 29, while > >[format days_to_date %d][math]{3/0/2005}[/math][/format] > >gives you 28 > >- Brian ------------------------------------------------------------- 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://webdna.smithmicro.com/ Gary Krockover

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:

searching problem (1998) Categories (2000) emailer (1997) Forcing a NEWCART (1997) Hiding Brands (2004) Cron job for permissions (2000) OSX Install error (2000) A better WebCat whois (was [OT] Domain Name Scam) (2000) Database multiple selections (1998) Problem (1997) Date problems (1997) Page Expiring again... (2006) GrandTotal not right (1997) Exclamation point (1997) Location of Browser Info.txt file (1997) Postdata expired from cache (2004) frames & carts (1997) WebCat2b13MacPlugIn - more [date] problems (1997) Stopping bad HTML propagation ? (1997) [WebDNA] ww- whole word in search tag (2013)