Revision 15079,
325 bytes
checked in by nanasess, 17 years ago
(diff) |
svn:mime-type application/x-httpd-php; charset=UTF-8 設定
|
-
Property svn:mime-type set to
application/x-httpd-php; charset=UTF-8
|
Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | $end_date = date("Y/m/d", time()); |
---|
4 | $start_date = date("Y/m/d",strtotime("-10 year" ,strtotime($end_date))); |
---|
5 | $end_date = date("Y/m/d",strtotime("1 day" ,strtotime($end_date))); |
---|
6 | for($i=0; $i<20; $i++) { |
---|
7 | $start_date = date("Y/m/d",strtotime("-10 year",strtotime($start_date))); |
---|
8 | echo $start_date."<br/>\n"; |
---|
9 | } |
---|
10 | |
---|
11 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.