Php taşıma Zaman dilimi

0 Cevap php

I am working on rss parser project, I need to fetch URL from us based server and store the data in to database while storing/viewing I need to keep the post time. I am using simplepie for rss aggregation, I face the following problem while handling rss

while I am checking rss url in firefox 3.0.19/system timezone set to Chennai/Kolkatta/Mumbai(UTC+5:30)now firefox displays post time for the post is 10:51 am at the same time if i check the same url in another system which has firefox 3.6.1/system timezone set to Chennai/Kolkatta/Mumbai(UTC+5:30) now firefox displays post time for the post is 11:34 am

how do I know which time is correct? and how do I get timezone for the RSS Server for php

RSS bir sunucuda saklanır ve ben her ikisi de bize bulunan başka bir sunucuya PHP uygulama yüklü besler.

Hangi timezone kullanmalıyım?

benim kodunda saat dilimini aşağıdaki seti

<?php
  date_default_timezone_set('US/Central');
  ?>

ama sonrası zaman yanlış olduğunda ekranı

0 Cevap