adplus-dvertising
frame-decoration

Question

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()

Posted under PHP Filesystem PHP

Answer: (b).mktime()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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