Re: Date
| From: | Mehmet Kamil ERISEN | Date: | Wed, 12 Dec 2001 22:25:24 +0000 |
| Subject: | Re: Date | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-77507@lists.php.net to get a copy of this message | ||
what's your raw data. I mean, what is the value of
$row["mydatafield"];
--- Max <mmaxim@cg.yu> wrote:
> 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?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> php-general-unsubscribe@lists.php.net
> For additional commands, e-mail:
> php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
=====
Mehmet Erisen
http://www.erisen.com
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com