time() question

From: Date: Thu, 13 Mar 2003 17:07:33 +0000
Subject: time() question
Groups: php.general 
Request: Send a blank email to php-general+get-139548@lists.php.net to get a copy of this message
Is there an easy way to display the epoch time given by time() in a human readable format? Basically, if I do $time = time(); and the insert that data into my mysql database and then pull that information out again how do I make it look like 2003-03-13 or a variant of that? TIA

« previous php.general (#139548) next »