Today

'; while ($result = db_fetch_array($results)) { if($result[weekOfMonth] == $weekNum && $result[dayOfWeek] == $dayNum) { $hour = substr($result[node_data_field_starttime_field_starttime_value], 0, 2); $minutes = substr($result[node_data_field_starttime_field_starttime_value], 3, 2); if( $hour > 11) { if($hour != 12) { $hour = $hour - 12; } $showTime = $hour . ":" . $minutes . " pm"; }else { $showTime = $hour . ":" . $minutes . " am"; } //dpm($result); echo '
  • ' . $showTime . ' ' . $result[node_title] . '
  • '; } } echo ""; ?>