Top

[PHP] ³¯Â¥°è»ê Á¤¸® | Web-Programing
±è°æÈÆ (admin) | Editor | 2018/10/19 11:08:08 | Á¶È¸:3668

PHP ¿¡¼­ ³¯Â¥°è»ê Á¤¸®



$time = time(); 


- date("Y-m-d",strtotime("-1 day", $time)) : ÇÏ·ç Àü(¾îÁ¦)

- date("Y-m-d",strtotime("-1 day", $time)) : ÇÏ·ç Àü(¾îÁ¦)

- date("Y-m-d",strtotime("now", $time)) : ÇöÀç

- date("Y-m-d",strtotime("+1 day", $time)) : ÇÏ·ç ÈÄ(³»ÀÏ)

- date("Y-m-d",strtotime("+1 week", $time)) : ÀÏÁÖÀÏ ÈÄ

- date("Y-m-d",strtotime("-1 month", $time)) : ÇÑ´Þ Àü

- date("Y-m-d",strtotime("+1 month", $time)) : ´ÙÀ½´Þ

- date("Y-m-d",strtotime("+6 month", $time)) : 6´ÞÈÄ

- date("Y-m-d",strtotime("+12 month", $time)) : 12´ÞÈÄ

- date("Y-m-d",strtotime("next Thursday", $time)) : ´ÙÀ½ÁÖ ¸ñ¿äÀÏ

- date("Y-m-d",strtotime("last Monday", $time)) : Áö³­ ¿ù¿äÀÏ

- date("Y-m-d",strtotime("10 September 2000", $time)) : 2000³â 9¿ù 10ÀÏ

- strtotime("+5 minutes") : ÇöÀç ½Ã°£º¸´Ù 5ºÐ ÈÄ

°øÀ¯Çϱâ
°øÀ¯Çϱâ
0
0
0


´ñ±ÛÀ» ºÒ·¯¿À´Â ÁßÀÔ´Ï´Ù.
¡ã ÀÌÀü±Û [Javascript] ÀÚ¹Ù½ºÅ©¸³Æ®·Î ³×Æ®¿öÅ© ¿¬°á È®ÀÎÇϱ⠱è°æÈÆ (admin) 2019-03-19 14:29:21
¡å ´ÙÀ½±Û URL, URN, URI ÀÇ Â÷ÀÌÁ¡ ±è°æÈÆ (admin) 2018-07-05 18:11:45