void TimePlusMin(int year, int mon, int day, int hour, int min);
ÁÖ¾îÁø ³¯Â¥ º¯¼ö¿¡¼ 1ºÐÀ» ´õÇÏ¿© °¢ º¯¼ö¿¡ ¹ÝȯÇÑ´Ù. ´ÞÀÌ ³Ñ¾î°¥ ¶§³ª À±´Þ 󸮵µ µÈ´Ù.
ÇÔ¼öÀÎÀÚ
year - ³â (ű׳ª º¯¼ö »ç¿ë)
mon - ¿ù (ű׳ª º¯¼ö »ç¿ë)
day - ÀÏ (ű׳ª º¯¼ö »ç¿ë)
hour - ½Ã (ű׳ª º¯¼ö »ç¿ë)
min - ºÐ (ű׳ª º¯¼ö »ç¿ë)
return °ª
¸®ÅÏ°ªÀº ¾ø´Ù.
¿¹Á¦1
year = 2000;
mon = 1;
day = 14;
hour = 12;
min = 55;
@TimePlusMin(year, mon, day, hour, min);
¹®Àå¼³¸í : ÇÔ¼ö°¡ ½ÇÇàµÇ°í ³ª¸é 2000³â 1¿ù 14ÀÏ 12½Ã 56ºÐ ÀÌ µÈ´Ù.
year = 2000, mon = 1, day = 14, hour = 12, min = 56ÀÌ µÈ´Ù.
¿¹Á¦2
$year = 2000;
$mon = 1;
$day = 14;
$hour = 12;
$min = 55;
@TimePlusMin($year, $mon, $day, $hour, $min);
¹®Àå¼³¸í : ÇÔ¼öÀÇ ÀÎÀڷΠű׸¦ ¹Ù·Î »ç¿ëÇÒ ¼ö ÀÖ´Ù.
$year = 2000, $mon = 1, $day = 14, $hour = 12, $min = 56ÀÌ µÈ´Ù.
°ü·ÃÇ׸ñ