Tagged Questions
0
votes
1answer
159 views
datetime picker, timestamps and meta queries
I have a custom meta box with a datepicker. The datepicker outputs 2013-01-17 10:00 in my database for an event that is 01-17-2013 at 10pm PST.
$eventlist = new WP_Query(array(
'post_type' => ...
2
votes
1answer
90 views
Query by custom dates in UNIX Time
I actually have a custom date registered in UNIX Time in my database like this:
meta_key : custom_date
meta_value : 1322697600
and the type of the meta key is a longtext
I would like to retrieve ...
0
votes
2answers
479 views
how to compare different timestamps in wp-query for events custom post types?
I have a custom post type with custom metaboxes (as seen on wptheming.com) and would like to make a query to show upcoming events, say in the sidebar, where past dates are left out.
But I need a ...
0
votes
1answer
353 views
Display upcoming events in the next 30 days by querying posts with timestamp in custom meta
I have a custom post type "event" which stores a custom meta as a timestamp ($event_date). The date is always in a dd-mm-yyyy format, so I can generate a unix timestamp from this key. The timestamp ...