PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
You need to first see when the first monday of the year was - as that is when the first week should start counting from and then add that number of days onto the equation. I think that would then work 100% correct.