심바의 개발일지

  • 홈
  • 태그
  • 방명록

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

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

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/10   »
일 월 화 수 목 금 토
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.

티스토리툴바