Results 1 to 7 of 7

Thread: last day of month

Threaded View

  1. #2
    Lively Member sishe's Avatar
    Join Date
    Aug 2004
    Location
    Izmit/Turkey
    Posts
    115

    Re: last day of month

    I think you can't get it with one line code or single function call.

    You must write a function for this or you can construct an array include every month's last day. But in both two ways you must consider leap years also.

    May be it is easier to find the next month's first day then step back 1 day by using dateadd function.
    Last edited by sishe; Mar 9th, 2005 at 04:38 AM.
    System Halted..
    -----------------------------------------
    Sishe

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width