Skip to content

Instantly share code, notes, and snippets.

@houssemz
houssemz / date.md
Created November 6, 2018 15:56
date and time

Datetime

These functions allow you to get the date and time from the server where your PHP scripts are running. You can use these functions to format the date and time in many different ways. The date and time information is stored in 64 bit number so negative years are supported.

date. * functions are affected by PHP.INI settings.