Esempio n. 1
0
 public function explode_year_month($year_month)
 {
     $pieces = explode("-", $year_month);
     $return = array('year' => $pieces[0], 'month' => $pieces[1], 'month_text' => $this->m_custom->display_static_option($pieces[1]), 'month_year_text' => $this->m_custom->display_static_option($pieces[1]) . ' ' . $pieces[0], 'month_first_date' => displayDate(displayFirstDay($pieces[0], $pieces[1]), 0, 1), 'month_last_date' => displayDate(displayLastDay($pieces[0], $pieces[1]), 0, 1));
     return $return;
 }
Esempio n. 2
0
 function displayFirstDayTime($year = '', $month = '')
 {
     $the_date = displayFirstDay($year, $month);
     $return_date = displayDate($the_date, 1, 1);
     return $return_date;
 }