How to create human readable time stamp? <p>This is my current PHP program:</p> <pre><code>$dateStamp = $_SERVER['REQUEST_TIME']; </code></pre> <p>which I later log.</p> <p>The result is that the <code>$dateStamp</code> variable contains numbers like: </p> <p>1385615749</p> <p>This is a Unix timestamp, but I want it to contain human readable date with hour, minutes, seconds, date, months, and years.</p> <p>So I need a function that will convert it into a human readable date.</p> <p>How would I do that?</p> <p>There are other similar questions but not quite like this. I want the simplest possible solution.</p>