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

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