How do you enter a date into a MySQL field? I've been trying to do it like this:

PHP Code:
date("Y-d-m"
But it keeps coming out as: 0000-00-00