How to convert a timezone from one to another ?



How to convert a timezone from one to another ?..

Answer / prasadkonnur

date_default_timezone_set() function

ex: date_default_timezone_set('Europe');

And date_default_timezone_get() function to get date.

Is This Answer Correct ?    5 Yes 1 No

Post New Answer

More PHP Interview Questions

What is slim framework?

1 Answers  


Is false empty php?

1 Answers  


How to track no of user logged in?

1 Answers  


Functions in IMAP, POP3 AND LDAP?

1 Answers   Rushmore Consultancy,


Do you know how to declare an array in php?

1 Answers  


how to display and include the user system date/time in a php program/project

1 Answers   Wipro,


What are the rules to determine the “truth” of any value which is not already of the boolean type?

1 Answers  


What's the difference between __sleep and __wakeup?

1 Answers  


how to insert, update data in database

4 Answers  


what is Abbreviavion of PHP?

6 Answers  


Give small demo of writting OOP in PHP-mysql.

1 Answers   TCS,


What is final keyword in php?

1 Answers  


Categories