/**
 * Returns translated name of the day of week for a given date.
 *
 * @param mixed  $date
 *   a date, default is current local day
 * @param string $abbr
 *   Whether to return the abbreviated name for that day
 * @return
 *    the name of the day in the week for that date
 */
function date_day_of_week_name($date = NULL, $abbr = TRUE)
{
    if (!is_object($date)) {
        $date = new DateObject($date);
    }
    $dow = date_day_of_week($date);
    $days = $abbr ? date_week_days_abbr() : date_week_days();
    return $days[$dow];
}
<?php

/**
 * @file
 * Item theme template for the simplereservation.module.
 *
 */
$imgpath = base_path() . drupal_get_path('module', 'simplereservation') . '/images/';
$week_day = date_week_days_ordered(date_week_days(TRUE));
if (user_access('access simple reservations')) {
    ?>
<!-- Header -->

<div id="srHeader">
  <div id="srMonth">
    <div id="srPm">
      <div id="srPImg">
        <?php 
    print l('<img src="' . $imgpath . 'holder.png" alt=' . t("Previous month") . ' title="' . t("Previous month") . '"></a>', 'simplereservation/' . $config["prev_4week"], array('html' => TRUE));
    ?>
      </div>
        <?php 
    print l(t("previous month"), 'simplereservation/' . $config["prev_4week"], array('html' => TRUE));
    ?>
      </div>
        <?php 
    print $config["month"] . "&nbsp;" . $config["year"];
    ?>
<div id="srNm"><?php 
    print l(t("next month"), 'simplereservation/' . $config["next_4week"], array('html' => TRUE));
    ?>