I blame a new keyboard for my error in the subject. etc should have been echo
This is what I have, why does it not now echo a date formatted string?
<?php
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
session_start();
// If not session date is found, set it to this date as a string to time
if (!isset($_SESSION['Date'])){
$_SESSION['Date'] = strtotime("07-29-1998");
echo "No session";
}
// Format date (working from a time stamp
$NewGameDate = strtotime("+1 month", $_SESSION['Date']);
// Set session as raw data
$_SESSION['Date'] = $NewGameDate;
// Echo
echo strtotime(date("d/m/Y", $_SESSION['Date']));
?>