I’m trying to get something nerdy done
for http://www.DigitalNomad.Pro …
… something really simple.
So I thought.
Difference Between 2 Dates in Weeks
That doesn’t seem to be easy to do in PHP < 5.3.
And yes it has to be used on webservers prior to version 5.3 of PHP as well.
Been Googling for a hour and seen all them the wonderful solutions.
It should be just be possible right with a few lines instead of a whole page of code, right? Wrong.
So then it hit me. Forget about weeks! I can calculate the difference in seconds between two dates and then divide by (60*60*24*7)!
- My Dutch / NL WordPress Translation contributions: October 2022 - October 9, 2022
- My Dutch / NL WordPress Translation contributions: August 2022 - August 23, 2022
- [NL] Ultra Light digital nomad Europe travel with Ryanair / Wizz Air - August 20, 2022
- My Dutch / NL WordPress Translation contributions: July 2022 - July 27, 2022
- My Dutch / NL WordPress Translation contributions: April 2022 - April 2, 2022
- My Dutch / NL WordPress Translation contributions: March 2022 - March 10, 2022
- What is the best global travel community for 2022 ? - February 20, 2022
- My Dutch / NL WordPress Translation contributions: February 2022 - February 3, 2022
- My Dutch / NL WordPress Translation contributions: January 2022 - January 4, 2022
- My Dutch / NL WordPress Translation contributions: October 2021 - October 7, 2021