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 could I install codeignitor ?
What is a substring in php?
Which function gives us the number of affected entries by a query?
What is the difference server side and browser side validation?
How do I escape in php?
Tell me what is htaccess?
How can you associate a variable with a session?
What are php loops?
What is new static in php?
How can we submit a form without using submit buttons?
What is trim codeigniter?
Is php a case sensitive language?
How can I use single quotes in single quotes in php?
Which library is used in php to do various types of image work?
The left association operator % is used in PHP for?