PHP Date & Time - W3school | Tutorialspoint

PHP Date() Function

PHP date() function returns a formatted string representing a date.

Syntax: