|
|
|
¸®´ª½ºÆÁ Go Unix Power Tools Online Book
Go Bash Guide
|
|
Read No. 9 article |
2001-08-04 08:32:17 |
|
|
|
|
NickName |
Ç®ºñ´© |
Subject |
¸¸³Áö 100ÀÏ,1000ÀÏÀÌ ¾ðÁ¦Àΰ¡ °è»ê...... |
|
|
³¯¶ó¸® ´ÔÀÇ ±ÛÀÔ´Ï´Ù.
<body>
<a href="http://www.koreant.com/~ksw/day/day.php">¿¹Á¦º¸±â</a>
<font>Á¤¸» °£´ÜÇÕ´Ï´Ù....
<?
//óÀ½¸¸³³¯ ÀÔ·Â
$day=""; //¿¹¸¦ µé¾î (2001-1-1)
//±¸ÇÏ°íÀÚ ÇÏ´Â ³¯ ÀÔ·Â
$d_day=""; //¿¹¸¦ µé¾î 100,1000
$date=$day;
$stemp=strtotime($date);
$firstday=date('Y³â n¿ù dÀÏ',$stemp);
$viewday=date('Y³â n¿ù dÀÏ',strtotime("+$d_day day",$stemp));
echo "óÀ½¸¸³ ³¯Àº $firstday ÀÌ°í";
echo "¸¸³Áö $d_day ÀÏ µÇ´Â³¯Àº $viewday ÀÔ´Ï´Ù";
?>
Çã´þÇÏÁö¸¸ ÀÏÀÏÀÌ °è»êÇÏÁö ¾Ê°í ¹Ù·Î ¾ðÁ¨Áö´Â ¾Ë¼ö ÀÖÀ»²®´Ï´ç..
±×·³ À̸¸....</font></body>
|
|
Page Loading [ 0.03 Sec ]
SQL Time [ 0.01 Sec ]
|
|
|