how to compare different timestamps in wp-query for events custom post types?

Looks like a unix timestamp is being stored in the post meta – so you should compare with a unix timestimp, not a MySQL’s timestamp.

To get the current time as a timestamp you should use the following code:

current_time( ‘timestamp’ );

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