title: How to find nearest day of week in php?
body: <p>How to find a speciefic nearest day of the week in PHP if initially I have a date string like: <code>07.05.2010</code>? For example, I want to find the nearest Sunday (or any day of the week). How can I implement this? Thanks</p>