Skip to content

Instantly share code, notes, and snippets.

@houssemz
Created November 6, 2018 15:56
Show Gist options
  • Save houssemz/846913ed932b2985964c924807b9160a to your computer and use it in GitHub Desktop.
Save houssemz/846913ed932b2985964c924807b9160a to your computer and use it in GitHub Desktop.
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment