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
Where is session value stored?
What is php sequence?
What is php oop?
Does php support multiple inheritance?
What is warning – “cannot modify header information – headers already sent”?
Can you define an argument as a reference type?
What is the most convenient hashing method to be used to hash passwords?
Which function will you use to create an array?
What is a query in php?
What is the use of trim in php?
Is wordpress a php framework?
What is zend studio for?
What are the features of php 7?
What is smarty?
Echo is used to Display message on screen. Which is used with echo to not output the trailing newline?