How can I convert a unix timestamp into something readable?


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » General Usage

How can I convert a unix timestamp into something readable?Last Modified: Apr 20, 2007, 7:39 pm
The unix timestamp is a number representing the number of seconds since 1970.
Most applications use this value to keep track of what time it is.
If you have a unix timestamp and need to see what time it represents, you can create a basic php script to decode it for you.
Create a time.php in your public_html foler, and enter the following data:

<html>
<body onLoad="document.form.time.focus();">
<?

if (isset($_GET['time']))
{
       echo date("r", $_GET['time']);
       echo "<br><br>";
}

?>

<form action=time.php method=GET name=form>
Timestamp: <input type=text name=time> <input type=submit>
</form>

</body>
</html>

Then view it through the web, enter the number and submit the form.

2003 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST