I'm using the date("d" function to display the date for tomorrow and yesterday:
$tomorrow = date("d"+1 . '-' . date("M"
$yesterday = date("d"-1 . '-' . date("M"
So yesterday (31-May) I see that tomorrow is 32-May ! and today, I see yesterday displayed as 0-Jun
How do I display the dates correctly for tomorrow and yesterday when its the end / beginning of the month?
$tomorrow = date("d"+1 . '-' . date("M"
$yesterday = date("d"-1 . '-' . date("M"
So yesterday (31-May) I see that tomorrow is 32-May ! and today, I see yesterday displayed as 0-Jun
How do I display the dates correctly for tomorrow and yesterday when its the end / beginning of the month?