Consider the following script:

Explanation:Since the given input date is out of range, it will automatically correct it. Hence, the correct answer will be Jan-01-1996.

mktime() function

The mktime() function is a timestamp function that is useful for date arithmetic and validation. It automatically calculates the correct value for an out-of-range input. The syntax of mktime() is as follows: