what's your raw data. I mean, what is the value of $row["mydatafield"];
--- Max <[EMAIL PROTECTED]> 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: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > To contact the list administrators, e-mail: > [EMAIL PROTECTED] > ===== 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]