CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Threaded View

  1. #1
    Join Date
    Feb 2011
    Posts
    57

    Find Begining and end dates of the previous month

    Hello,
    I am looking for the formula to find the beginning and end of the previous month. If today is march 28 th then I would like to find february's beginning and end date using the system date.

    When my crystal report runs it will find invoices, from the previous month.

    Post_date between (beginning of February) and {End of February}.

    Post_date is formated as MM/DD/YYYY HH:MM:SS am/pm on the db. I want to check against "MM/DD/YYYY"

    Thank you,
    Pn
    Last edited by PNorm; March 28th, 2011 at 01:09 PM.

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

Featured