I'm trying to display a session start time on a page in this format
"Today you started work at: 00:00"
I found a session start time if statement here on stack overflow but it doesn't seem to work for what I'm trying to do, either that or my syntax is wrong.. not sure, I'm new to PHP any help would be appreciated.
print "<td>Today you started work at: " ;
if (!isset($_SESSION['started'])){
$_SESSION['started'] = $_SERVER['REQUEST_TIME']
print $_SESSION['started'];
};