database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
ㆍPostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
PostgreSQL Q&A 2992 게시물 읽기
No. 2992
다른 time zone 으로 시간 변경하기
작성자
정재익
작성일
2001-06-21 23:31
조회수
1,840

원본출처 : http://www.brasileiro.net/postgres/cookbook/view-one-recipe.adp?recipe_id=136

 

 

Submitted on: 04-12-2001

Description:

Several tips to convert to different timezones, extract some date fields and do some calculations with the dates

Code:

 

test=# select to_char(now(),'yyyy-mm-dd hh24:mi') at time zone 'utc';

timezone

------------------------

2001-04-12 14:09:00+00

[Top]
No.
제목
작성자
작성일
조회
2995Last-Change Updater
정재익
2001-06-21
1897
2994이전 시간표와 겹치지 않는지 check 하는 함수
정재익
2001-06-21
1710
2993두 datetime 사이의 overlap interval 구하기
정재익
2001-06-21
2041
2992다른 time zone 으로 시간 변경하기
정재익
2001-06-21
1840
2991날짜 계산함수 -- DATE_ADD(), DATE_SUB()
정재익
2001-06-21
2480
2990Tree-structure functions (3)
정재익
2001-06-21
1680
2989Tree-structure functions (2)
정재익
2001-06-21
1967
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.016초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다