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
List few sensible functions in PHP?
What is namespace in php?
What is php array function?
How to run a php script?
How to pass variables and data from php to javascript?
What is the actually used php version?
How to check a variable is an array or not in php?
Why do we use htaccess
What is variable declaration?
Are there regular expressions in php?
How to concatenate two strings in php?
How do you use bcrypt for hashing passwords in php?
What is 'float' property in css?
What is the main difference between require() and include()?
Why die is used in php?