Skip to content

Glossary: PHP Basics

date()

Also written: date

A built-in function that formats the current date or time using letter codes, such as `date('F j, Y')` for "October 23, 2026".

Where the book teaches it

Related terms

function