跳至內容
選單
此問題已被標幟
1 回覆
3012 瀏覽次數

Hello Guys

in my application i had set time zone -Asia/Kolkata

when i click on sign in button for attendence its displaying date & time like 06/14/2014 18:19:02 but in my database its display 06/14/2014 12:49:02

 

I want to know why its displaying like that,mean there is some differenc b/w time

 

Please help me

Thanks

頭像
捨棄
最佳答案

I guess, your database ha UTC timestamp. UTC is the same timezone of GMT but without summertime.

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

I think it is no a really mismatch.

 

Server applications use internal UTC datetime in order to avoid error when time changes form standard time to summertime and usign UTC they can exchange timed info across internet (i.e. crypted keys).

Users instead use local time.

You have to remember differential time.

 

頭像
捨棄
作者

so how can i change utc time zone to postgresql

相關帖文 回覆 瀏覽次數 活動
2
4月 23
3328
2
2月 21
16491
1
10月 20
3523
2
8月 19
3874
0
9月 16
4465