solution/thanks re: date format
| From: | Gronquist, Jim M | Date: | Wed, 30 Jul 2003 16:17:57 +0000 |
| Subject: | solution/thanks re: date format | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-157540@lists.php.net to get a copy of this message | ||
Great!
I actually had 2 dates - using your suggestion as follows worked:
$mailed=3D$row["mailed"];
$payment=3D$row["payment"];
$ID=3D$row["ID"];
$Timestamp=3Dstrtotime($row[mailed]);
$mailedf=3Ddate("F d, Y",$Timestamp);
$Timestamp=3Dstrtotime($row[payment]);
$paymentf=3Ddate("F d, Y",$Timestamp);
echo "<TR><TD>$mailedf</TD><TD>$paymentf</TD></TR>";
-Jim
-----------------------------------------------------------------
Jim Gronquist