B / Y / U / S
HOME À¥ È£½ºÆà µµ¸ÞÀÎ ¸Å´º¾ó °í°´Áö¿ø ¼³Á¤Á¤º¸ °èÁ¤½Åû 2024-12-25 Wednesday 
À¥ È£½ºÆÃ
# °øÁö »çÇ×
# ÀÚÁÖ ¹¯´Â Áú¹®
# Áú¹®°ú ´äº¯
# °¡ÀÔ ¹®ÀÇ
Ä¿¹Â´ÏƼ
# ÀÚÀ¯°Ô½ÃÆÇ
# ¸®´ª½ºÆÁ
# ¾ÆÀÌÅ¥ Å×½ºÆ®
# ³»È¨ ¼Ò°³
# °Ö·¯¸®
# ÀÚ·á½Ç

  ¸®´ª½ºÆÁ  Go Unix Power Tools Online Book Go Bash Guide
Read No. 6 article 2001-08-04 08:09:13
NickName   Ç®ºñ´©
Subject   Æ¯Á¤ÀÏ ÀÔ·ÂÇÏ°í ¿À´ÃÀÌ ¸îÀÏ°ÀÎÁö ¾Ë¾Æ³»±â
¼½½Ã¶óÀÌ¿Â ´ÔÀÇ ±ÛÀÔ´Ï´Ù.

¿©±â¼­ ¾òÀº ¼Ò½º Á» º¯ÇüÇß½À´Ï´Ù. 
¼Ò½º´Â °£´ÜÇϱ¸¿ä. 
¿ì¼± óÀ½¸¸³­ ³¯À» ÀÔ·ÂÇÕ´Ï´Ù.. 
(¼Ò½º»ó¿¡.. ºê¶ó¿ìÁ®±â´ÉÀº ¾È¸Í±Û¾úÀ½) 

±×·³ ¿À´ÃÀÌ ¸îÀÏ°ÀÎÁö È­¸é¿¡ Ãâ·ÂµÇÁö¿ä.. 

ÀԷ¹ÞÀº ³¯Â¥¸¦ À¯´Ð½ºÅ¸ÀÓÀ¸·Î (Ãʸ¦¸»ÇÔ) º¯ÇüÇÏ°í 
ÇöÀç ³¯Â¥¸¦ ÃÊ·Î ±¸Çؼ­ 

ÇöÀç ³¯Â¥¿¡¼­ ÀÔ·ÂÇÑ ³¯Â¥¸¦ »©¸é ³ª¿ÂÃʸ¦ ³¯Â¥·Î º¯È¯ÇÕ´Ï´Ù. 
º¯È¯Çϴ³»¿ëÀº 3600 * 24 ÇÏ¸é µÇ°ÚÁ®.. 

ÀÌ·¸°Ô ¼³¸í Àû¾ú´Âµ¥µÎ.. ¸ð¸£½É.. ¤Ð.¤Ð 
Á¦°Ô Áú¹®ÇϽñ¸¿ä... 

¾ÏÅÏ. ¼Ò½º ³ª°©´Ï´Ù. 




echo" 
<tr> 
<td> 
"; 
$firstday = mktime(0,0,0,3,21,1993); /// óÀ½¸¸³­³¯ ÀÔ·Â 
$today = time(); ¿À´Ã³¯Â¥ ±¸Çϱâ.... 
$day = intval(($today - $firstday)/(3600*24)+1); ¿À´Ã À¯´Ð½º ½Ã°£¿¡¼­ óÀ½¸¸³­³¯Â¥ 
»©±¸ ±¸°É ÃÊÇϱ¸ ½Ã°£ÇÑ°Å °öÇÑ°É·ç ³ª´®.. ¸îÀÏÀÎÁö ³ª¿À¡. 
//// Àߺ¸¸é 1À» ´õÇسùÀ½... 
//// 1 À» ´õÇÑÀÌÀ¯´Â À¯´Ð½º ŸÀÓÀ¸·Î ±¸ÇßÀ»¶§ 
/// ù³¯À» 0À¸·Î Àâ´õ¶ó±¸¿ä.. ¿ì¸®´Â ù³¯À» 1ÀÏ·ç °è»êÇϴϱî 
/// ¸¸³­Áö 100ÀÏÀº 99ÀÏ·Î Ãâ·ÂÇϱ淡.. 1À» ´õÇØÁá¾î¿ä.. 

$now = date("Y ³â m¿ù dÀÏ"); ///Áö²ÞÀÌ ¸îÀÏÀÎÁö °è»ê 
echo" 
<br> 
<font color=red>1993</font> ³â <font color=red>3</font> ¿ù <font 
color=red>21</font> ÀÏ ¸¸³ª<br> 
¿À´Ã <font color=red>$now</font> ±îÁö<br><br> 
¶õÀ̸¦ ¸¸³­Áö <font color=red><b>$day</b></font> ÀÏ° µÇ´Â ³¯ÀÔ´Ï´Ù.<br><br> 
"; 
if($day<3000){ 
$d_day= 3000 -$day; 
echo"<b>3000</b> ÀϱîÁö´Â $d_day ÀÏ ³²¾Ò½À´Ï´Ù.<br><br>"; 
} 
$wookday = mktime(0,0,0,5,9,1976); /// Àڱ⠻ýÀÏ ÀÔ·Â 
$wday = intval(($today - $wookday)/(3600*24)+1); 
echo"¿íÀÌ°¡ žÁö <b>$wday</b> µÇ¾ú½À´Ï´Ù.<br>"; 
$raniday = mktime(0,0,0,11,25,1977); /// ¾ÖÀÎ »ýÀÏÀÔ·Â 
$rday = intval(($today - $raniday)/(3600*24)+1); 
echo"¶õÀÌ°¡ žÁö <b>$rday</b> µÇ¾ú½À´Ï´Ù.<br><br>"; 
$per=($day/$rday)*100; /// ¾ÖÀÎÀλý¿¡¼­ ¸îÆÛ¼¾Æ® È®º¸Çß´ÂÁö ¾Ë¾Æ³»±â~ 
echo"<b>$rday</b> ¿¡¼­ $per% È®º¸."; 
echo" 
</td> 
</tr> 
";
Regist Addr [ 210.221.19.151 ] ¸ñ·Ïº¸±â À­±Û ¾Æ·§±Û
Á¤±ÔÇ¥Çö½Ä [ »ó¼¼ °Ë»ö ]
Page Loading [ 0.03 Sec ] SQL Time [ 0 Sec ]

Copyleft 1999-2024 by JSBoard Open Project
Theme Designed by IDOO And follow GPL2

°³ÀÎÁ¤º¸ Ãë±Þ¹æħ ÀÌ¿ë ¾à°ü »çÀÌÆ® ¸Ê ¾îµå¹Î °ü¸®