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!

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

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

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.