Q. Which function returns the current Unix timestamp in PHP?

  • (A) time()
  • (B) date()
  • (C) timestamp()
  • (D) now()
πŸ’¬ Discuss
βœ… Correct Answer: (A) time()
Explanation: time() returns the number of seconds since January 1, 1970.
Explanation by: Rati Dubey
time() returns the number of seconds since January 1, 1970.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
104
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
90%
Success Rate