PHP Manual Function Reference Date and Time Related Extensions Calendar Installing/Configuring Installation Requirements Runtime Configuration Installation To get these functions to work, you have to compile PHP with --enable-calendar . The Windows version of PHP has built-in support for this extension. You do not need to load any additional extensions in order to use these functions.