A

Admin • 828.03K Points
Coach

Q. Which function is used to get the current date and time in PHP?

  • (A) date_time()
  • (B) now()
  • (C) date()
  • (D) current_time()
  • Correct Answer - Option(C)
  • Views: 6
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin
The date() function formats a local date and time.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.