문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
wiki:javascript:javascript_note:js_date_formats [2021/04/13 11:25] emblim98 |
— (현재) | ||
---|---|---|---|
줄 1: | 줄 1: | ||
- | ======JavaScript Get Date Methods====== | ||
- | <WRAP left notice 70%> | ||
- | * description : JavaScript Get Date Methods | ||
- | * author | ||
- | * email : shlim@repia.com | ||
- | * lastupdate | ||
- | </ | ||
- | <WRAP clear></ | ||
- | ====Ref==== | ||
- | [[https:// | ||
- | \\ | ||
- | 다음의 메소드들은 날짜 오브젝트에서 정보를 가져오기 위해 사용할 수 있습니다.\\ | ||
- | ^ Method | ||
- | | getFullYear() | ||
- | | getMonth() | ||
- | | getDate() | ||
- | | getHours() | ||
- | | getMinutes() | ||
- | | getSeconds() | ||
- | | getMilliseconds() | ||
- | | getTime() | ||
- | | getDay() | ||
- | | Date.now() | ||
- | \\ | ||
- | =====The getTime() Method===== | ||
- | '' | ||
- | <code javascript> | ||
- | var d = new Date(); | ||
- | document.getElementById(" | ||
- | </ | ||
- | |||
- | =====The getFullYear() Method===== | ||
- | '' | ||
- | <code javascript> | ||
- | var d = new Date(); | ||
- | document.getElementById(" | ||
- | </ | ||
- | |||
- | =====The getMonth() Method===== | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | {{tag> | ||