How to find nearest day of week in php?

Posted by moogeek on Stack Overflow See other posts from Stack Overflow or by moogeek
Published on 2010-05-06T21:04:21Z Indexed on 2010/05/06 21:08 UTC
Read the original article Hit count: 343

Filed under:
|
|
|

Hello! How to find a speciefic nearest day of the week in PHP if initially I have a date string like: 07.05.2010? For example, I want to find the nearest Sunday (or any day of the week). How can I implement this? Thanks

© Stack Overflow or respective owner

Related posts about php

Related posts about date