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 the use of mysqli_real_escape_string() function?
Does php 7 support multiple inheritance?
How to find datatype of variable in php?
Which is better php or nodejs?
Which will start a session?
Explain PHP looping?
Write a select query that will be displayed the duplicated site name and how many times it is duplicated?
Explain do you use composer? If yes, what benefits have you found in it?
Does php has a future?
How can I convert ereg expressions to preg in php?
Code to upload a file in PHP?
How do you pass a variable by value?
What is $_ get in php?
Explain Type hinting in PHP?
What is composer used for?