PHP's procedural date functions have been available since PHP 4 and remain widely used. Understanding them is essential before moving to the OOP DateTime API.
time()returns the current Unix timestamp (seconds since 1970-01-01 00:00:00 UTC).date($format, $timestamp)formats a timestamp as a string.mktime()creates a timestamp from individual date/time components.