foreach($usedays as $d){
foreach($hours as $h){
$date = new DateTime($d. ' ' . $h, new DateTimeZone($this->tz));
+ print_r($date);exit;
$date->setTimezone(new DateTimeZone(ini_get('date.timezone')));
$ret[] = $date->format('Y-m-d H:i:s');
}
$notifytimes = $this->notifyTimes(2);
- print_R($notifytimes);exit;
+ //print_R($notifytimes);
$newSearch = DB_DataObject::factory('core_notify');
$newSearch->whereAdd( 'act_start > NOW()');