FromEpoch

FromEpoch

FromEpoch 계열 함수는 에포크를 에포크 밀리초로 변환하는 함수예요.

출처: 문서

본문

에포크를 에포크 밀리초로 변환해요. 다음 시간 단위가 지원돼요:

  • SECONDS
  • MINUTES
  • HOURS
  • DAYS

시그니처 (Signature)

FromEpoch<TIME_UNIT>(timeIn<Time_UNIT>)

사용 예시 (Usage Examples)

select FromEpochSeconds(1613472303) AS epochMillis
FROM ignoreMe
epochMillis
1613472303000
select FromEpochMinutes(26891205) AS epochMillis
FROM ignoreMe
epochMillis
1613472300000
select FromEpochHours(448186) AS epochMillis
FROM ignoreMe
epochMillis
1613469600000
select FromEpochDays(18674) AS epochMillis
FROM ignoreMe
epochMillis
1613433600000

더 알아보기 (Learn more)