You could do it via the query:
SELECT *, DATE(lastlogindate) AS logindate, TIME(lastlogindate) AS logintime FROM table . . .
Alternatively you could do it in the PHP code.
$timestamp = strtotime($row['lastlogindate']);
$date = date('Y/m/d', $timestamp);
$time = date('H:i:s', $timestamp);