How to get seconds from current date using date function ?
Answers were Sorted based on User's Feedback
Answer / rupa
date("h:i:s");//get current time
date(s);//get only seconds
| Is This Answer Correct ? | 25 Yes | 2 No |
Answer / ghan shyam
by using date function like :
date("s",time());
or
date("s",strtotime("$dt")); for given date in $dt
| Is This Answer Correct ? | 1 Yes | 4 No |
Do you know what is use of count() function in php?
How do functions work?
What is var_dump?
What does echo mean in php?
Tell me how can we change the maximum size of the files to be uploaded?
Is apache needed for php?
What is mysql_real_escape_string used for?
please explain me mail function in php
What is .htaccessfile and use of this file
What the difference between WAMP5 1.7.3 and WampServer 2?
Which is incorrect with respect to separating php code and html?
1.What is application server ? 2.What is web server ? 3.Explain the process of execution of a php file ?