"함수 this month()"의 두 판 사이의 차이

잔글 (Jmnote님이 This month 문서를 함수 this month() 문서로 이동했습니다)
잔글 (봇: 자동으로 텍스트 교체 (-source +syntaxhighlight))
 
(다른 사용자 한 명의 중간 판 6개는 보이지 않습니다)
1번째 줄: 1번째 줄:
[[분류: 월]]
{{DISPLAYTITLE:함수 this_month()}}
==개요==
==개요==
;this month
;함수 this_month()
 
==JavaScript==
[[분류: JavaScript]]
<syntaxhighlight lang='JavaScript'>
console.log( new Date().toISOString().substr(0,7) );
// 2019-07
</syntaxhighlight>


==PHP==
==PHP==
<source lang='php'>
[[분류: PHP]]
<syntaxhighlight lang='php'>
echo date("Y-m");
echo date("Y-m");
# 2019-07
# 2019-07
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
* [[함수 prev_month()]]
* [[함수 next_month()]]
* [[함수 this_year()]]
* [[함수 this_year()]]
* [[함수 today()]]
* [[함수 today()]]
* [[함수 this_week()]]

2020년 11월 2일 (월) 02:36 기준 최신판


1 개요[ | ]

함수 this_month()

2 JavaScript[ | ]

console.log( new Date().toISOString().substr(0,7) );
// 2019-07

3 PHP[ | ]

echo date("Y-m");
# 2019-07

4 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}