How to get seconds from current date using date function ?
Answer Posted / rupa
date("h:i:s");//get current time
date(s);//get only seconds
Is This Answer Correct ? | 25 Yes | 2 No |
Post New Answer View All Answers
Can we run php in apache tomcat?
Why do we use polymorphism in php?
What does csrf token mismatch mean?
How to access a specific character in a string?
Which character is used to match exactly one character?
Explain mail function in PHP with syntax?
How to protect special characters in query string?
How to get elements in reverse order of an array in php?
What is strlen function in php?
How does php serialize work?
Binary tree question - Node has numeric data (int) The function takes depth as argument and sum all the value of the node of the depth. For instance, (0) depth 0 / \ 10 20 depth 1 / \ / \ 40 50 60 70 depth 2 so if you pass get_sum(2), you would return 220 which is 40+50+60+70 (sum of depth2) write the function.
What types of MYSQL function available for affecting columns
How does api connect to database?
Which framework is best for php development?
Is php still in demand?