date

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
pinehead18
Forum Contributor
Posts: 329
Joined: Thu Jul 31, 2003 9:20 pm

date

Post by pinehead18 »

How do i conver 1251745068 a strtotime that was setup in a db back to YYYY-MM-DD format?
User avatar
Grizzzzzzzzzz
Forum Contributor
Posts: 125
Joined: Wed Sep 02, 2009 8:51 am

Re: date

Post by Grizzzzzzzzzz »

Code: Select all

 
echo date("Y/m/d", 1251745068);
 
2009/08/31



s'all in the manual
Post Reply