Which PHP function is used to get the current time in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT)?

141. Which PHP function is used to get the current time in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT)?

  1. time()
  2. gettime()
  3. stime()
  4. time_seconds()

Answer: A) time()

Explanation:

The PHP time() function is used to get the current time in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT).


Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.