0

Hey all,

I am currently using the following to echo the 1st Current_month:

echo "1st '.date('F').'.";

So that would say, for example, 1st October.

What would I need to do to echo the next month? In this case 'November'?

Thanks for any help!

1
Contributor
2
Replies
3
Views
4 Years
Discussion Span
Last Post by mmcdonald
0

I am using this but it isn't working (which I thought it would)

echo date('Y-m-d',strtotime("+1 month"));
0

Sorry tell a lie it is working I was refreshing the productions erver and not my development server - sorry!

'.date('F',strtotime("+1 month")).'

Is the solution for anyone who may come across the same issue.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.