Answer Posted / 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 View All Answers
What is stdclass in php?
How to display your correct URL of the current web page?
Is facebook still in php?
How do you check if a variable has not been set in php?
What type of operation is needed when passing values through a form or an url?
Is set in php?
What is binary safe function in php?
What is put method in php?
What is data type in php?
What is a collection in php?
How can we execute a php script using command line?
How do I make a reset button in html?
Is multilevel inheritance possible in php?
What does $this do in php?
What beforeFilter() is used?