Get date numerical and separate?

I think this will work for you (tried it and it works):

date('m', strtotime('0 month'));
date('d', strtotime('0 day'));

Here is a discussion on the topic.

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