Current date is 30 October 2017
This code:
date("F",strtotime("-8 Month"))
Returns "March" where it should be February.
php snippet: http://sandbox.onlinephpfunctions.com/code/cfba4f420e9f76026be0286b52d780d0a75b8cd3
Current date is 30 October 2017
This code:
date("F",strtotime("-8 Month"))
Returns "March" where it should be February.
php snippet: http://sandbox.onlinephpfunctions.com/code/cfba4f420e9f76026be0286b52d780d0a75b8cd3
Thanks for the answers - I managed to solve it by using:
strtotime(date('Y-m')." -8 Month")