plugins – strtotime does not work

Therefore, have a complement that is a bit broken, it is intended to count down until the next few days of the opening time. It seems to be adding 1.5 additional hours, I have tried some things and nothing seems to have an effect on that.

Original code

    // JS counters data
$right_now     = current_time( 'Y-m-j' );
$time_now      = current_time( 'timestamp' );

$tomorrow_time = date( 'Y-m-j', strtotime('+1 day', $time_now ) );

if ( $opening_time < $closing_time ) {
    $to_time   = $right_now . ' ' . $closing_time;
    $from_time = $tomorrow_time  . ' ' . $opening_time;
} else {
    $to_time   = $right_now . ' ' . $closing_time;
    $from_time = $right_now . ' ' . $opening_time;
}

I have tried this:

// JS counters data
$right_now     = current_time( 'Y-m-j' );
$time_now      = current_time( 'timestamp' );

$hours_fix = current_time( 'timestamp', strtotime('-1 hours, -30 minutes') );
$tomorrow_time = date( 'Y-m-j', strtotime('+1 day', $hours_fix ) );

if ( $opening_time < $closing_time ) {
    $to_time   = $right_now . ' ' . $closing_time;
    $from_time = $tomorrow_time  . ' ' . $opening_time;
} else {
    $to_time   = $right_now . ' ' . $closing_time;
    $from_time = $right_now . ' ' . $opening_time;
}

And some other bits similar to adding an additional line to cover the 1.5 hours also tried to change the +1 day to +22 hours, but the time does not move, they are still 1.5 hours per head of what it should be, (I can & # 39; I don't see any fixed time zone settings in the code, so I should extract the installation time of WordPress, which is the correct time. Does anyone have any points here?