Compare WP Custom Field date

I had create a custom field “date” with this format 16/09/2013 (d/m/Y). How can i compare date and show only post with date from today ? This is my query that don’t work !! $args = array( ‘posts_per_page’ => 100, ‘meta_key’ => ‘date’, ‘orderby’ => ‘meta_value’, ‘order’ => ‘ASC’, ‘meta_query’ => array( array( ‘key’ => … Read more

Get last seen date/time in wordpress get_comments() [closed]

Closed. This question is off-topic. It is not currently accepting answers. Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third party plugins and themes are off topic, they are better asked about at their developers’ support routes. Closed 4 … Read more

Is a MySQL DATETIME or TIMESTAMP value retrieved through $wpdb in UTC?

I have a custom MySQL table with two columns that look like this: `timestamp_created` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `datetime_created` DATETIME DEFAULT CURRENT_TIMESTAMP, When retrieving these values using $wpdb, I would like to know in what timezone the result will be, and whether I can have the result be in UTC: $row = $wpdb->get_row(“SELECT * FROM `test`”, … Read more