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 |
what method is used to generate a random number?
What is the role of the .htaccess file in php?
Does php 7 support multiple inheritance?
How to print \ in php. Only \ with out using . or *.
How to get the number of visitors in a site?
Is salary a ratio or interval?
Can anybody plz tell me if there any recruitment on php plz mail to vasudev.adepu@gmail.com.i had completed M.SC(MATHS) in 2007 . trying to get a job on php. i have good knowledge on PHP/MYSQL
What are sql functions?
Tell me how to create a text file in php?
Tell me is it possible to submit a form with a dedicated button?
What is the use of friend function in php?
Why is used in php?