Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which one of the following function is useful for producing a timestamp based on a given date and time?

a) time()
b) mktime()
c) mrtime()
d) mtime()

Answer: b
Explanation: The function mktime() returns the Unix timestamp for a date. This function is same as gmmktime() except that the passed parameters represents a date not a GMT date.

Join The Discussion