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 us how to set cookies in php?
How do you pass a variable by value?
Is array function in php?
How many escape sequences are recognized in single-quoted strings?
What are the difference between echo and print?
Php being an open source is there any support available to it?
What is php routing?
Tell me how can we define a variable accessible in functions of a php script?
What is repository in php?
What is php default argument?
Why session is required?
What is the use of mysql_fetch_assoc in php?
What are the encryption functions in php?
What is associative array in php?
Does php 7 support multiple inheritance?