Have you ever wanted to know what the date was last year on this day?
Example: You want to compare sales from Wednesday of this year to the same Wednesday of last year. There is a very simple solution in PHP.
[code]function ThisDateLastYear($date_in) { // date_in = input date in form of [...]
Tags: PHP