JDate::toSql

Gets the date as an SQL datetime string.