You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$results = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table WHERE channel_id=%d AND cg_exempt=0 AND run_date_time >= %s AND run_date_time < %s ORDER BY run_date_time",
$channel_id,
$date_start_utc,
$date_end_utc
));
// Convert the retrieved run_date_time from UTC to the site timezone
foreach ($results as $result) {
$run_date_time_utc = new DateTime($result->run_date_time, new DateTimeZone('UTC'));