You are here

function theme_scheduler_timecheck in Scheduler 5

Same name and namespace in other branches
  1. 6 scheduler.module \theme_scheduler_timecheck()
  2. 7 scheduler.admin.inc \theme_scheduler_timecheck()
1 theme call to theme_scheduler_timecheck()
_scheduler_timecheck in ./scheduler.module

File

./scheduler.module, line 504

Code

function theme_scheduler_timecheck($now) {
  drupal_set_title(t('Scheduler OS time check'));
  $t_options = array(
    '%time' => gmdate("Y-m-d H:i:s", $now),
    '%lt' => date("Y-m-d H:i:s P", $now),
  );
  return t('Your server reports the UTC time as %time and "localtime" as %lt.', $t_options) . '<p />' . t('If all is well with your server\'s time configuration UTC should match <a target="_blank" href="http://wwp.greenwichmeantime.com/">UTC London Time</a> and the localtime should be the time where you are.') . '<p />' . t('If this is not the case please have your Unix System Administrator fix your servers time/date configuration.');
}