My current function looks like this:
function getThisDayAsArray() {
return array(
"y" => date("Y", $this->properDateTS),
"m" => date("m", $this->properDateTS),
"d" => date("d", $this->properDateTS)
);
}
and it works fine for returning the correct date. I am trying to have it returning always +1 day from the currenty one.
$date = new DateTime('+1 day');
fails for me. Any suggestions?