심바의 개발일지

  • 홈
  • 태그
  • 방명록

UTC 1

[Spring boot] 서버 띄울때 UTC 시간으로 띄우기

개발을 하다보면 UTC와 KST 사이에서 허덕일경우가 있는데 ApiApplication.java 에서 @PostConstruct public void before() { TimeZone.setDefault(TimeZone.getTimeZone("UTC")); } 를 작성한뒤 서버를 띄우면 UTC로 변환이 되어서 볼수 있다.

SpringBoot 2021.02.01
1
더보기
프로필사진

  • 분류 전체보기 (60)
    • JPA (0)
    • JS (1)
    • SpringBoot (11)
    • Vue (3)
    • DB (1)
      • Mysql (7)
    • Java (4)
    • ngnix (1)
    • Redis (0)
    • 알고리즘 (17)
    • 개발 (10)
    • Kotlin (1)
    • 내 자신에게 해주고 싶은 말 (0)

Tag

Intellij, Cannot Connect to Database Server, rename folder, 백준, how to change repository folder name, change folder name, java, sourcetree access token github, sourcetree github access token, 프로그래머스, Vue, 폴더 이름바꾸기, sourcetree github not working, HTTP 응답코드, 500 502 차이, Queue PriorityQueue, Queue PrioirtyQueue 시간복잡도, while connecting to upstream, MySQL, Please use a personal access token instead,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2026/01   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Copyright © Kakao Corp. All rights reserved.

티스토리툴바