Display INT timestamp from database as readable format in view

In my model I am using time() and as an integer to save the time and date…

How do I display this value on a page in a readable format?

So instead of 1278754137 being shown its an actual date and time

http://th2.php.net/manual/en/function.date.php

thanks

I actually found it myself too

http://php.net/manual/en/function.date.php