댓글 검색 목록

[javascript] 가벼운 자바 스크립트 timezone라이브러리

페이지 정보

작성자 운영자 작성일 20-11-13 15:51 조회 698 댓글 0

원격 시간대로 시간 계산


https://github.com/spencermountain/spacetime


<script src="https://unpkg.com/spacetime"></script>
<script>
  var d = spacetime('March 1 2012', 'America/New_York')
  //set the time
  d = d.time('4:20pm')

  d = d.goto('America/Los_Angeles')
  d.time()
  //'1:20pm'
</script>






댓글목록 0

등록된 댓글이 없습니다.

웹학교 로고

온라인 코딩학교

코리아뉴스 2001 - , All right reserved.