📊 PHP
Q. Which function returns the current date and time?
  • (A) time()
  • (B) now()
  • (C) date()
  • (D) datetime()
💬 Discuss
✅ Correct Answer: (C) date()

Explanation: date() formats a local date/time, if no timestamp given current time is used.

Explanation by: Rati Dubey
date() formats a local date/time, if no timestamp given current time is used.

💬 Discussion


📊 Question Analytics

👁️
71
Total Visits
📽️
1 y ago
Published
🎖️
Rati Dubey
Publisher
📈
81%
Success Rate