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
Is php a case sensitive language?
How does cookies work in php?
What are the characteristics of php variables?
Write logic to print Floyd's triangle in PHP?
Which function you can use in php to open a file for reading or writing or for both?
What is the use of namespace in php?
What is an abstract class in php?
How can php and javascript interact?
Code to open file download dialog in PHP?
Why do we use cookie?
How do http requests work?
Is php outdated 2019?
Why do we use php?
What is the use of get and post method in php?
Who is known as the father of php?