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 |
1.Where are the sessions storing ? 2.What are the contents of a session file ? 3.If the server is loaded with too many session files there is a possibility of server crash. How can we solve this issue? 4. How does php server identify that the particular session belongs to particular user ? For ex: If two users A and B logged from different machine, separate session files (say 1 and 2) will be created in the server. But how the php knows that 1 belongs to A and 2 belongs to B ?
Is it worth learning php in 2019?
Are react hooks stable?
What is php mainly used for?
what is the scope of php in the future if any other language is developed then may be php is loss ???
Applications written to provide a GUI shell for Unix and Linux are called
How can we know that a session is started or not?
3 Answers Rushmore Consultancy,
Name some of the functions in php.
Is multilevel inheritance possible in php?
Difference between notify url, return url in paypal payment gateway?
4 Answers A1 Technology, Capital IQ, CMS, Essar, HCL, IAS, Karvy, L&T, State Bank Of India SBI, TATA, Tisco, WNS,
How to enable cURL in PHP?
What are the features of object-oriented programming in php?