API (1) 썸네일형 리스트형 javascript Date API function getDateForm() { var form = document.info; var now = new Date(); year = now.getYear(); month = now.getMonth() + 1; day = now.getDate(); min = now.getMinutes(); sec = now.getSeconds(); ampm = (now.getHours() >= 12) ? "오후" : "오전"; hour = now.getHours(); hour = ((hour > 12) ? hour - 12 : hour ); min = ((min >= 10) ? min : "0" + min); sec2 = ((sec >= 10) ? sec : "0" + sec); day_title = getWa.. 이전 1 다음