David Elliott wrote:
try <? echo date("d",$dbdate)."<br>"; echo date("m",$dbdate)."<br>"; echo date("y",$dbdate)."<br>"; ?>
I thought date() took a timestamp, not a string. Here's what I do: $timestamp = $dbdate; echo date("d",$timestamp) echo date("m",$timestamp) .... -Dave -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php