mardi 18 février 2020

How to get every nth Monday, Tuesday etc. of every month in this year laravel/php after a certain date?

For example if the function gets 2020.02.18 then it's the 3rd Tuesday of February, so the output should be an array of dates: [3rd Tuesday of March if exists, 3rd Tuesday of April if exists, ..., 3rd Tuesday of December 2020 if exists]. For 2020.03.27 its the 5th Sunday of March so the output should be: [5th Sunday of April if exists, 5th Sunday of May if exists, ..., 5th Sunday of December 2020 if exists]



via Chebli Mohamed

1 commentaire:

  1. As claimed by Stanford Medical, It's indeed the SINGLE reason women in this country live 10 years longer and weigh an average of 42 lbs less than we do.

    (And actually, it is not about genetics or some secret diet and really, EVERYTHING about "how" they eat.)

    P.S, I said "HOW", not "what"...

    Tap this link to find out if this little quiz can help you release your true weight loss possibilities

    RépondreSupprimer