Convert timestamp to readable date/time PHP

I have a timestamp stored in a session (1299446702).

How can I convert that to a readable date/time in PHP? I have tried srttotime, etc. to no avail.

Leave a Comment

error code: 521