MattioMatt
Registered User.
- Local time
- Today, 20:38
- Joined
- Apr 25, 2017
- Messages
- 99
Hello,
I'm trying to get the last date of the previous month based on a current month.
So for example if the current end month is 30/06/2018, I'd like it to return 31/05/2018.
I have a text box called txtCurrentDate (Value: 30/06/2018) I then have a second text box called txtPreviousDate with the following
=DateAdd("m",-1,[txtCurrentDate])
However this is pulling back 30/05/2018 but as I want it to be the last day of the previous month I'd like it to pull 31/05/2018. Similiary this issue happens for different dates.
Any ideas much appreciated
I'm trying to get the last date of the previous month based on a current month.
So for example if the current end month is 30/06/2018, I'd like it to return 31/05/2018.
I have a text box called txtCurrentDate (Value: 30/06/2018) I then have a second text box called txtPreviousDate with the following
=DateAdd("m",-1,[txtCurrentDate])
However this is pulling back 30/05/2018 but as I want it to be the last day of the previous month I'd like it to pull 31/05/2018. Similiary this issue happens for different dates.
Any ideas much appreciated
