Jump to content

[SOLVED] How to get the next monday of the next monday


Sten
 Share

Recommended Posts

Hello,

How do I get the next Monday after the next Monday?

I have that, that works and then I don't find how to add 7 days to it :

$str = datetime('Y-m-d', 'next monday');

 

Link to comment
Share on other sites

32 minutes ago, Sten said:

@cwsoft, thank you but next next monday it is not always 14 days.

Sorry. Just typed from my mobile out of my head to point you to a possible PHP solution using strtotime. From here one could check the PHP documentation for https://www.php.net/manual/de/function.strtotime.php, providing some examples combining different time offsets as text string.

  • Like 1
Link to comment
Share on other sites

  • Sten changed the title to [SOLVED] How to get the next monday of the next monday

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...