13
Views
5
Comments
Download files (correct date)
Question

For example, we take any date - November 10 (He must download files for me from October 1 to October 31 (last month))

I just need to be able to use any date


Logic


Rank: #70

Hi there,


Your BeginDate should be:


AddMonths(NewDate(Year(CurrDate()), Month(CurrDate()), 1),-1)


Your EndDate should be:


AddDays(NewDate(Year(CurrDate()), Month(CurrDate()), 1), -1)


Cheers,
João