Why is this code displaying 'Y' as 1969?
Quote:
<?php
$today = date("d");
$thisMonth = date("M");
$thisYear = date("Y");
echo date("M d Y", mktime(0,0,0, $thisMonth, $today, $today-8));
?>
|
I'm trying to get it to display: Jan 5 2023 (minus 8 days from today).