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 are getters and setters and why are they important?
Why constructor is not overridden?
What is a php class?
how can we check mail function with '127.0.0.1' (before submitting a site?
How to access a specific character in a string?
•How to access crystal reports through PHP code?
Make a "dynamic drop down list" with using only PHP,HTML and MySQL..
What is slim framework?
What is empty php?
Define object-oriented methodology?
How can we create a database using PHP and mysql?
What is multidimensional array in php?