Issue with date() function...

From: Date: Fri, 10 Jun 2005 16:01:16 +0000
Subject: Issue with date() function...
Groups: php.db 
Request: Send a blank email to php-db+get-39647@lists.php.net to get a copy of this message
I have a variable: $rec2day = date("Y-m-d"); that displays correctly when echoed to the screen, but when I write it to my DB, I get the mathmatical answer to the equasion (1989 (2005-06-10)). What do I need to do to correct this?? TIA

« previous php.db (#39647) next »