심바의 개발일지

  • 홈
  • 태그
  • 방명록

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

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • 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.

티스토리툴바