0

A View is filtered by a Date field's value. The Date field's month must be last month in order to match the filter.

Filter setting

On every day except July 31 it would return results from last month. It should have returned results matching June. We have tried "-1 month" but that didn't work either.

Why on July 31 does it jump ahead a month?

1
  • May be problem in date.timezone settings in your php.ini
    – Denis
    Commented Aug 18, 2014 at 1:11

2 Answers 2

1

Try to use 'last day of last month' or 'first day of last month'.

1
  • 1
    First day of last month did it! Commented Aug 18, 2014 at 3:13
0

You can do this by adding "-1 months" relative value. you can get any month records just need to use + - no. of month to get previous or next months data.

enter image description here

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.