The PHP mktime() function returns the Unix timestamp for a date.
Output
Jan-11-2013
Syntax
mktime(hour, minute, second, month, day, year)
Parameters
Parameter | Description |
---|---|
hour | Specifies the hour |
minute | Specifies the minute |
second | Specifies the second |
month | Specifies the month |
day | Specifies the day |
year | Specifies the year |