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 |
Tell me what is the use of explode() function?
What is meant by PEAR in PHP?
Which is better session or cookie?
how do we can copy of the content of a web page with the help og the URL and display them onto any other page
What is strlen php?
What is varchar mysql?
Why triggers are used in mysql?
How to get number of elements in an array?
Which php framework is best for web development?
What are the types of variables in php?
How to check your php installation?
What are the ways to include file in php?