How can we get second of the current time using date function?
Answer Posted / shanmuga
echo date('s');
This function will give the seconds of the current time.
| Is This Answer Correct ? | 52 Yes | 9 No |
Post New Answer View All Answers
Describe the security vulnerability of PHP?
Which function you can use in php to open a file for reading or writing or for both?
How to reset/destroy a cookie?
Tell me how can we determine whether a variable is set?
What is the difference between $argv and $argc? Give example?
Is php pass by reference or value?
how can i develop forum code? any one pleale help me on this question
What are the three classes of errors that can occur in php?
Is java is better than php?
Explain whether it is possible to share a single instance of a memcache between multiple php projects?
Suppose we receive a form submitted by a post to subscribe to a newsletter. This form has only one field, an input text field named email. How would we validate whether the field is empty? Print a message "the email cannot be empty" in this case?
What are the functions to be used to get the image's properties (size, width and height)?
Explain what does the expression exception::__tostring means?
List some sorting functions in php?
What PHP stands for?