Sr. PHP Programmer Question:
How will you get the current date and time using PHP?

Answer:
PHP's time() function gives you all the information that you need about the current date and time. It requires no arguments but returns an integer.
Previous Question | Next Question |
How to strip whitespace (or other characters) from the beginning and end of a string? | How stop the execution of a php scrip? |