How To Write A Date In PHPEric·Feb 4, 2022·1 min readDate() is a function we can use to display the date and time in a readable manner. Syntax date("Y-M-D"); This will display the year, month and day of the current date. PHPsoftware developmentbasicsTutorial Share this