πŸ“Š 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

πŸ‘οΈ
58
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
99%
Success Rate