How to get seconds from current date using date function ?
Answer Posted / 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 |
Post New Answer View All Answers
Tell me how to initiate a session in php?
How can we encrypt the password using php?
What is the difference server side and browser side validation?
Which is useful for method overloading?
How do I escape in php?
How to get the position of the character in a string in php?
How we can declare variable in php?
List some string function name in php?
Tell us how can we access the data sent through the url with the post method?
Explain some of the php array functions?
How to invoke a user function?
Is it easy to learn php?
How to add 301 redirects in PHP?
What is php oops concepts?
How can you create a session in php?