diff --git a/scheduler.admin.inc b/scheduler.admin.inc
index 8fad8e8..4600d73 100644
--- a/scheduler.admin.inc
+++ b/scheduler.admin.inc
@@ -250,7 +250,8 @@ function theme_scheduler_timecheck($variables) {
   global $user;
 
   $now = $variables['now'];
-  $date_default_timezone = variable_get('date_default_timezone', date_default_timezone_get());
+  //@todo revisit this when date module is being ported
+  $date_default_timezone = \Drupal::config('date')->get('default_timezone');
 
   $t_options = array(
     // For @utc specify 'GMT' as the timezone (4th parameter) so that no
@@ -271,7 +272,7 @@ function theme_scheduler_timecheck($variables) {
     . '<p>' . t('Your server\'s time is @utc. In most cases this should match <a href="https://www.google.com/search?q=Greenwich%20Mean%20Time">Greenwich Mean Time (GMT) / Coordinated Universal Time (UTC)</a>', $t_options) . '</p>'
     . '<p>' . t('The website default timezone is @date_default_timezone (@date_default_code) which is offset from GMT by @date_default_offset hours. This timezone can be <a href="@admin_regional_settings">changed by admin users</a> with the appropriate access.', $t_options) . '</p>';
 
-  if (variable_get('configurable_timezones', 1)) {
+  if (\Drupal::config('??')->get('configurable_timezones')) {
     $output .= '<p>' . t('Your local time is @localtime (@daylight_saving). You can change this via your <a href="@user_account">user account</a>.', $t_options) . '</p>';
     if (empty($user->timezone)) {
       $output .= '<p>' . t('Note: The user timezone has not been stored, so defaulting to the website timezone.') . '</p>';
