How would you acquire a Unix timestamp representing the current date and time?
Which function accepts a timestamp and returns an associative array representing the given date?
Which function would you use to format date information?
How would you acquire a timestamp for an arbitrary date?
Which function could you use to check the validity of a date?
The time() function returns the current date in timestamp format.
The getdate() function returns an associative array whose elements contain aspects of the given date.
The date() function is used to format a date.
Given arguments representing the hour, minute, second, month, day of month, and year, the mktime() function returns a Unix timestamp.
You can check a date with the checkdate() function.