Support

Account

Home Forums ACF PRO Date time picker – strtotime +7 day using ACF number field ? Reply To: Date time picker – strtotime +7 day using ACF number field ?

  • Sorry , solved it – Like this.

    $daysafter = get_field('days_after');
    
    // find date time in 7 days
    strtotime('+ '.$daysafter. 'days', $time_now);

    Thank you