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 many types of array supported in php?
What is get method in java?
How to delete file in php?
How do I stop php artisan serve in windows?
Explain me is it possible to destroy a cookie?
How many open modes available when a file open in PHP?
What are the common uses of php?
What are the advantages of stored procedures in php?
What is parent __construct ();?
What is a string in r?
What is the difference between session_unregister() and session_unset()?
Why framework is used in php?
Differences between get and post methods?
What enctype is required for file uploads to work?
Tell me what does the scope of variables means?