Sr. PHP Programmer Question:

What is the purpose of date() function?

Tweet Share WhatsApp

Answer:

The date() function returns a formatted string representing a date. You can exercise an enormous amount of control over the format that date() returns with a string argument that you must pass to it.

Download Senior PHP Programmer PDF Read All 202 Senior PHP Programmer Questions
Previous QuestionNext Question
How to find current date and time?What is the value of "$day" in the below code?