2013/01 (2) 썸네일형 리스트형 [PHP] 날짜 데이터 구하기 (이번주, 다음주, 마지막 일 , 기타등등.) PHP 함수중에 strtotime 함수가 있습니다.이 함수를 사용하면 원하는 날짜의 데이터를 쉽게 구할수 있습니다. $a[] = date('Y-m-d', strtotime('first day')); # 02/01/10$a[] = date('Y-m-d', strtotime('last day')); # 02/28/10$a[] = date('Y-m-d', strtotime('last day next month')); # 03/31/10$a[] = date('Y-m-d', strtotime('last day last month')); # 01/31/10$a[] = date('Y-m-d', strtotime('2013-01 last day')); # 12/31/09 - this doesn't work if you.. jQuery select box Control 제어 jQuery로 선택된 값 읽기$("#selectBox option:selected").val();$("select[name=name]").val(); jQuery로 선택된 내용 읽기$("#selectBox option:selected").text(); 선택된 위치var index = $("#test option").index($("#test option:selected")); ------------------------------------------------------------------- // Add options to the end of a select$("#selectBox").append("Apples");$("#selectBox").append("After Apples"); // Add o.. 이전 1 다음