Compare date fails when date is in next year [closed]

You might need to convert the time to timestamps (not php time formatting) for comparison purposes. I always found that it solved a lot of my event issues.

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