As @Bomlife showed above. Using date() will allow you to return the time, you could also then return other values such as the year, day, date etc via the same function by changing the values to return in the first parameter of date().
A list of parameters can be found here:
http://php.net/manual/en/function.date.php