Hi,
I have a problem with strtotime displaying months. See the code:
print(date('M-d')); //prints May-31
print(date('M-d',strtotime('-1 month'))); //prints May-01
Since i need it to get the previous month, why is the function ignoring the fact that there are 31 days in May?
Thanks