![]() |
| Home | Apache | PHP | Ubuntu | MySQL | Linux | HTML | Win | CSS | Perl | Javascript | Rants | Retro |
|
||
| Convert a unix timestamp in PHP to date To convert a unix timestamp to a readable format using php, just copy and paste the code below. <?php echo $date = date("F-d-Y", $timestamp); ?> $timestamp variable is the unix timestamp. For example <?php echo $date = date("F-d-Y", 1282983809); ?> This would display August-28-2010 - Please visit our other tutorial |