Saturday, November 17, 2007

This_month_first

This month first

Mysql-format
date("Y-m")."-1";
php
"1-".date("m-Y");

This year first
Mysql-format
date("Y")."-01-1";
php
"1-01-".date("Y");


Powered by ScribeFire.

No comments:

Post a Comment