month

month

month 함수는 주어진 에포크 밀리초에서 연중 월을 UTC 또는 지정한 시간대로 반환하는 함수예요. 값은 1부터 12까지예요.

출처: 문서

본문

주어진 에포크 밀리초에서 연중 월을 UTC 또는 지정한 시간대로 반환해요. 값의 범위는 1부터 12까지예요.

시그니처 (Signature)

month(tsInMillis)

month(tsInMillis, timeZoneId)

사용 예시 (Usage Examples)

select month(1633046399000, 'UTC') AS month
FROM ignoreMe
month
9
select month(1633046399000, 'CET') AS month
FROM ignoreMe
month
10

더 알아보기 (Learn more)