Venkat Papana
Venkat Papana

Reputation: 4927

php: how to get timestamp of 2 weeks later day

I'm using strtotime("next week") to get the next week's timestamp. now i need to get the timestamp of 'next week' of 'next week', i.e. 2 weeks later.

can anybody plz help...

-venkat nehatha

Upvotes: 2

Views: 1819

Answers (2)

Rikesh
Rikesh

Reputation: 26441

Try this:

'Next 2 Week: '.strtotime('+2 week');

Upvotes: 5

Venkat Papana
Venkat Papana

Reputation: 4927

I found strtotime("+2 week")

Upvotes: 1

Related Questions