date() function: How To Get Current Date in PHP

The date() is a function of PHP. It is used to get the current date. You have to use the date format in the date() function’s parameter as a string. This date() function/method gives you the versatility to print day, today’s date, the current date (in any format) and so more you will know further. … Read more