YYY/MM/DD to DD/MM/YY PHP : <pre><code>&lt;div class="table-responsive"&gt;  
&lt;table id="Well_CAT" class="table table-striped table-bordered"&gt;                              
&lt;thead&gt; &lt;th&gt;Client_Contract_Number&lt;/th&gt;
&lt;th&gt;Currently_Using&lt;/th&gt;
&lt;th&gt;MBPS_EAM_Number_RIGT&lt;/th&gt;
&lt;th&gt;Model_and_Type&lt;/th&gt;
&lt;th&gt;LFour_Yearly&lt;/th&gt;
&lt;th&gt;Six_Monthly&lt;/th&gt;
&lt;th&gt;One_Yearly&lt;/th&gt;
&lt;th&gt;One_and_Half_Yearly&lt;/th&gt;
&lt;th&gt;Two_Yearly&lt;/th&gt;
&lt;th&gt;Two_and_Half_Yearly&lt;/th&gt;
&lt;th&gt;Three_Yearly&lt;/th&gt;
&lt;th&gt;Three_and_Half_Yearly&lt;/th&gt;
&lt;th&gt;Four_Yearly&lt;/th&gt;
&lt;th&gt;Remarks&lt;/th&gt;
&lt;/thead&gt;  
&lt;?php
while($rows=mysql_fetch_array($result)){
?&gt;&lt;tr&gt;  
 &lt;td class="exdate"&gt;&lt;? echo $rows['Client_Contract_Number']; ?&gt;&lt;/td&gt;
 &lt;td class="exdate"&gt;&lt;? echo $rows['Currently_Using']; ?&gt;&lt;/td&gt;
 &lt;td&gt;&lt;? echo $rows['MBPS_EAM_Number_RIGT']; ?&gt;&lt;/td&gt;
 &lt;td&gt;&lt;? echo $rows['Model_and_Type']; ?&gt;&lt;/td&gt;
 &lt;td&gt;&lt;? echo $rows['LFour_Yearly']; ?&gt;&lt;/td&gt;
 &lt;td class="exdate"&gt;&lt;? echo $rows['Six_Monthly']; ?&gt;&lt;/td&gt;
 &lt;td class="exdate"&gt;&lt;? echo $rows['One_Yearly']; ?&gt;&lt;/td&gt;
 &lt;td class="exdate"&gt;&lt;? echo $rows['One_and_Half_Yearly']; ?&gt;&lt;/td&gt;
 &lt;td class="exdate"&gt;&lt;? echo $rows['Two_Yearly']; ?&gt;&lt;/td&gt;
 &lt;td class="exdate"&gt;&lt;? echo $rows['Two_and_Half_Yearly']; ?&gt;&lt;/td&gt;
 &lt;td class="exdate"&gt;&lt;? echo $rows['Three_Yearly']; ?&gt;&lt;/td&gt;
 &lt;td class="exdate"&gt;&lt;? echo $rows['Three_and_Half_Yearly']; ?&gt;&lt;/td&gt;
 &lt;td class="exdate"&gt;&lt;? echo $rows['Four_Yearly']; ?&gt;&lt;/td&gt;
 &lt;td class="exdate"&gt;&lt;? echo $rows['Remarks']; ?&gt;&lt;/td&gt;
  &lt;/tr&gt;  
    &lt;?php
     }
     ?&gt;
  &lt;/table&gt;
</code></pre>

<p>My table dates are in YYY/MM/DD format, i would like to change it it DD/MMM/YY format,I managed to do it for each column.. it would be better if i can do it for entire table all at once. (I have more than 15 tables to process) Please help me with this same example.. so that i can do it for all others. </p>
