VBScript 월 함수
❮ 완전한 VBScript 참조
Month 함수는 해당 연도의 월을 나타내는 1에서 12 사이의 숫자를 반환합니다.
통사론
Month(date)
Parameter | Description |
---|---|
date | Required. Any expression that can represent a date |
예시
예시
<%
response.write(Month("2010-02-16"))
%>
위 코드의 출력은 다음과 같습니다.
2
❮ 완전한 VBScript 참조