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