Q. Which PHP function gets the Unix timestamp?

  • (A) now()
  • (B) time()
  • (C) timestamp()
  • (D) date()
πŸ’¬ Discuss
βœ… Correct Answer: (B) time()
Explanation: time() returns the current Unix timestamp.
Explanation by: Kanak Sharma
time() returns the current Unix timestamp.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
44
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Kanak Sharma
Publisher
πŸ“ˆ
95%
Success Rate