在座标上,我可以采用以下方式来安排时间:
SELECT article_name, DATE_FORMAT( article_date, %b %e, %Y ) AS my_date FROM tblArticles
公共卫生和社会福利部也可使用:
echo date( M j, Y , strtotime($row[ article_date ]));
我的网页上有大约50+件。 因此,在PHP I中,记录、格式和印刷。 如果我使用<代码>_format(<>/code>,可在查询本身内避免通过购买力平价进行的格式编排。
So, among these two approaches, which one would you prefer(regarding performance) ? My pages are likely to get several hit and this app would be hosted in a shared hosting. So, I am concerned with performance at the moment. I just don t want to give more load to my server. :)
提前感谢。