title: For daypilot calendar control, how to display mon to fri instead of date on the column name
body: <p><img src="https://i.stack.imgur.com/9RAou.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/ZjmNO.png" alt="enter image description here"></p>
  
  <p>currently mine only displays the date on the column name. I would want to display mon to fri which correpond to the correct date of course. Etc I want to display mon instead of 17/03/2014, I want to display tue instead of 18/03/2014 and so on. bumpss up  </p>
  
  <p><strong>MY SOURCE</strong></p>
  
  <pre><code>&lt;%@ Page Language="C#" AutoEventWireup="true" CodeFile="number2.aspx.cs" Inherits="number2" %&gt;
  
  &lt;%@ Register assembly="DayPilot" namespace="DayPilot.Web.Ui" tagprefix="DayPilot" %&gt;
  
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head runat="server"&gt;
  &lt;link rel="stylesheet" href="stylesheets/style.css" type="text/css" /&gt;
      &lt;title&gt;&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;form id="form1" runat="server"&gt;
      &lt;div style="text-align: center"&gt;
  
          &lt;asp:Label ID="lblVenue" runat="server" 
              style="font-size: xx-large; font-weight: 700" Text="Label"&gt;&lt;/asp:Label&gt;
  
          &lt;daypilot:daypilotcalendar 
       id="DayPilotCalendar1" 
       runat="server" 
       DataStartField="eventstart" 
       DataEndField="eventend"
       DataTextField="name" 
       DataValueField="id" 
       Days="5" 
       OnEventMove="DayPilotCalendar1_EventMove" 
       EventMoveHandling="CallBack" BackColor="#0066FF" BusinessBeginsHour="8" 
              BusinessEndsHour="19" CssOnly="False" EventBackColor="#66FF99" 
              HourBorderColor="Lime" HourHalfBorderColor="#0066FF" 
              HourNameBackColor="#6699FF" HourNameBorderColor="#0066FF" HoverColor="#0066FF" 
              NonBusinessBackColor="#0066FF" style="top: 0px; left: 0px"
       &gt;
      &lt;/daypilot:daypilotcalendar&gt;
  
  
      &lt;/div&gt;
      &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>MY CODE BEHIND</strong></p>
  
  <pre><code>public partial class number2 : System.Web.UI.Page
  {
      protected void Page_Load(object sender, EventArgs e)
      {
          lblVenue.Text = Session["roomvalue"] != null ? Session["roomvalue"].ToString() : "";
  
          if (!IsPostBack)
          {
              DayPilotCalendar1.StartDate = DayPilot.Utils.Week.FirstWorkingDayOfWeek(new DateTime(2014, 03, 17));
              DayPilotCalendar1.DataSource = dbGetEvents(DayPilotCalendar1.StartDate, DayPilotCalendar1.Days);
              DataBind();
          }
      }
  
  
          private DataTable dbGetEvents(DateTime start, int days)
      {
          SqlDataAdapter da = new SqlDataAdapter("SELECT [id], [name], [name2], [eventstart], [eventend] FROM [event] WHERE NOT (([eventend] &lt;= @start) OR ([eventstart] &gt;= @end))", ConfigurationManager.ConnectionStrings["projectConnectionString"].ConnectionString);
          da.SelectCommand.Parameters.AddWithValue("start", start);
          da.SelectCommand.Parameters.AddWithValue("end", start.AddDays(days));
          DataTable dt = new DataTable();
          da.Fill(dt);
          return dt;
      }
  }
  </code></pre>
  
  <p>@Xenolightning  dun hav the event that u mention</p>
  
  <p><img src="https://i.stack.imgur.com/Tc0wr.png" alt="enter image description here"></p>