$wpdb->insert() and Values for Datetime Columns?

Couldn’t you just use PHP’s date() function?

$prepared_date = date( 'Y-m-d H:i:s', $expires );

Leave a Comment

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