반응형
Notice
Recent Posts
Recent Comments
Link
250x250
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 게임
- JavaScript
- guide
- JS
- 엘든링
- 스쿠버다이빙
- 안드로이드
- intellij
- 공략
- 뱀파이어서바이벌
- 씨홀스
- 어드벤스
- 오픈워터
- WebView
- 다이빙
- window
- window10
- 야생의숨결
- ubuntu
- Front-end
- docker
- 취미
- window11
- 세부
- PostgreSQL
- Linux
- poe2
- 개발툴
- 여행
- 젤다의전설
Archives
- Today
- Total
목록Formatter (1)
Rianshin
formatter: function () { var date = new Date(); var dateFormatter = function dateFormatter(date, format) { try { var arr = []; var seperator = []; if (date === undefined || date === null) { return null; } if (typeof date === 'string') { arr = date.split(/\D/), seperator = ['', '', '']; if (arr.length === 1) {// 월일년을 따로 넣는다. arr = [date.substr(0, 4), date.substr(4, 2), date.substr(-2)]; } } else ..
Develop/Javascript
2020. 11. 25. 15:52