Support

Account

Home Forums Front-end Issues Delete ACF repeater field entry from backend after date expiry Reply To: Delete ACF repeater field entry from backend after date expiry

  • You probably need to add dashes to the dates before you use strtotime()

    
    $start = $row['start_date'];
    $start = substr($start, 0, 4).'-'.substr($start, 4, 2).'-'.substr($start, 6, 2);
    $start = strtotime($start);