faqts : Computers : Programming : Languages : PHP : Common Problems

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

10 of 12 people (83%) answered Yes
Recently 5 of 7 people (71%) answered Yes

Entry

how can you make from a unixtime stamp a readable time (2 june 2021)?

Jul 19th, 2004 23:28
Alder Rus, Red O., Yvo SChaap, http://www.php.net/manual/function.date.php , http://www.directoryonclick.com , http://www.singapore-yellow-pages.com


Just use the date()-function:
$time_readable = date("d F Y", <timestamp>);