Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9656

Re: End date is one too many

$
0
0

The logic for this is fairly easy.  Here's how to get the start and end dates of last month.

 

LastMonthStart = Date(Year(dateadd('m', -1, CurrentDate)), Month(dateadd('m', -1, CurrentDate)), 1)

 

Last Month End = Date(Year(CurrentDate), Month(CurrentDate), 1) - 1

 

-Dell


Viewing all articles
Browse latest Browse all 9656

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>