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
How to get complete current page url in php?
Explain me what is the goto statement useful for?
What beforeFilter() is used?
What is the use of imagetypes() method?
What's the best method for sanitizing user input with php?
What is html used for?
What are the different opening and closing tags available in PHP?
How can you send http header to the client in php?
Is key exist in array php?
What is die in php?
Tell me what does the scope of variables means?
How to take a substring from a given string?
Tell me how is the ternary conditional operator used in php?
What would occur if a fatal error was thrown in your php program?
How php statement is different from php script?