Hide hour from displaying when using user_registered

You could just show the first 10 characters of the string, like:

echo substr($user->user_registered, 0, 10);

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)