Sponsored by NuSphere - PHP Software for PHP Application Developers - On Sale This Week for $100



Go Back   PHP-Editors > Programming Help > PHP Programming Help

PHP Programming Help Post any question relating to PHP Programming here and hopefully someone can help.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2007-11-24, 01:34 PM
Junior Member
 
Join Date: Feb 2006
Location: England
Posts: 19
hi_118
Send a message via MSN to hi_118 Send a message via Yahoo to hi_118
Default PHP - UNIX Timestamps to Readable date

How do i go around to putting the UNIX Time stamp into a Readable date.

Thanks for any help
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 2007-11-24, 02:56 PM
Junior Member
 
Join Date: Oct 2007
Location: Ankara
Posts: 1
NeRu is on a distinguished road
Default

Quote:
Originally Posted by hi_118 View Post
How do i go around to putting the UNIX Time stamp into a Readable date.

Thanks for any help
date("d-m-Y", yourtimestamp);

for more date variables you can take a look at php date function

thats all
Reply With Quote
  #3 (permalink)  
Old 2007-11-24, 03:05 PM
Junior Member
 
Join Date: Feb 2006
Location: England
Posts: 19
hi_118
Send a message via MSN to hi_118 Send a message via Yahoo to hi_118
Default

Thanks Alot!!

A bit of Messing around i placed the code in the wrong place at the first time lmao..

Thanks
Reply With Quote
  #4 (permalink)  
Old 2008-09-04, 02:51 AM
Junior Member
 
Join Date: Sep 2008
Location: In The Internet
Posts: 3
vovaNux is on a distinguished road
Default

I've found a good list of human readable PHP date() options here: Human Readable Date Format List for PHP date Function :: Archives :: LAMPdocs: Linux, Apache, MySQL, PHP
Reply With Quote
Must read Review for Serious PHP Developers


NuSphere PhpED 5.5 : The Staff of php-editors.com recently spent a few days working with NuSphere PhpED 5.5 (a popular PHP IDE) and NuCoder 2.0 (a PHP Encoding Utility), read up on all the details.

Sponsored Links
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:27 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.