Calculate first day of last month

Just starting out? Need help? Post your questions and find answers here.
ebs
Enthusiast
Enthusiast
Posts: 565
Joined: Fri Apr 25, 2003 11:08 pm

Re: Calculate first day of last month

Post by ebs »

@BarryG,

I use a one-liner similar to your code:

Code: Select all

  AddDate(Date(Year(d), Month(d), 1, 0, 0, 0), #PB_Date_Month, -1)
Post Reply