Q. Which PHP function returns the current timezone?

  • (A) get_timezone()
  • (B) timezone_get()
  • (C) date_default_timezone_get()
  • (D) ini_get('timezone')
πŸ’¬ Discuss
βœ… Correct Answer: (C) date_default_timezone_get()
Explanation: This function returns the default timezone.
Explanation by: Mr. Dubey
This function returns the default timezone.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
45
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
88%
Success Rate