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 |
How to use http headers inside php?
How can we connect to a mysql database from a php script?
What is polymorphism in oop php?
What is the scope of a variable defined in a function?
What is the difference between $argv and $argc? Give example?
Define urlencode() and urldecode() used in php?
Where is session value stored php?
what is constructor
What is the use of magic function in php?
How to block direct directory access in PHP?
Do you know what is the function func_num_args() used for?
Is it possible to use com component in php?