Date
| From: | Max | Date: | Wed, 12 Dec 2001 22:23:06 +0000 |
| Subject: | Date | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-77506@lists.php.net to get a copy of this message | ||
Hi to all,
I'm using this to get date from mySQL database:
...
$p_datum = $row["mydatefield"];
$mydate = getdate($p_datum);
$month = $mydate['month'];
$mday = $mydate['mday'];
$year = $mydate['year'];
..but I allways get 1/1/1970.
Can anybody help me?