How can we get second of the current time using date function?
Answer Posted / rahul
$second = date('s');
echo $second;
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
How do I check environment variables?
What is a php array?
Explain how does one prevent the following warning ‘warning: cannot modify header information – headers already sent' and why does it occur in the first place?
Which is better python or php?
What's the difference between accessing a class method via -> and via ::?
What is difference between print_r and echo in php?
What is data type in php?
What is the use of stripslashes in php?
How to assigning a new character in a string using php?
How to remove duplicate values from a PHP Array?
What is ci in php?
What is difference between include,require,include_once and require_once()?
Does php support polymorphism?
Why is php used?
Is php difficult to learn?