how many ways we get current date in php
Answers were Sorted based on User's Feedback
Answer / swapna
$date_time = date('Y-m-d H:i:s'); use this one you can get
current date.
Is This Answer Correct ? | 88 Yes | 28 No |
Answer / mahesh
$date = getdate()
Here $date prints as an Array.with current date and Time
Is This Answer Correct ? | 24 Yes | 25 No |
Answer / tasimkhan
$date = date('d-M-Y H:i:s', strtotime(time(0))
Is This Answer Correct ? | 4 Yes | 7 No |
What are php errors?
What is the difference between echo print and print_r in php?
What is in php 7?
How can we extract string ?allinterview.com ? from a string ?http://info@allinterview.com? using regular expression of PHP?
How i can integrate merchant payment get way in zen cart? in php? plz help me
1 Answers BA Continnum Solutions,
how to maintained the session from one page to another page based on the url and then entered into the first page is logging into instead of secondpage it goes to the another url.ie first login session togoes to the one url and next login session it goes to another url how is it possible in php please give me answer in that question
How to update memcached when you make changes to php?
What is static method php?
hi sir am kiran kumar finished my mca 2009 passed out sir .. i have more doubts regarding open source technologies sir if we pass zend exam in php can we get a job opportunity in foreign countries sir and is it good demand for php compared to dot net and java and some other technologies like sap , erp sir bcoz my friends saying they are finished dot net and java courses they telling in php we cannot earn more and we cannot go onsite opportunity even big companies not dealing with php is it right ah sir ? please send ur valuable suggestions to my email sir kiranpulsar2007@gmail.com please send ur phone number also sir thanking u sir
How to genrate report in wordpress cms
What is member variable?
How to get best php developer Experience in Php with Sugar CRM / VTiger.