mktime

PHP 4, PHP 5, PHP 7, PHP 8
mktime - Get Unix timestamp for a date
Mktime Online Tool
Manual
Code Examples

Example #1 mktime basic example

PHP Version:

Example #2 mktime example

PHP Version:

Example #3 Last day of a month

PHP Version:


Example #4 of mktime

PHP Version:


Function mktime:

Date and Time Functions

Most used PHP functions