Open In App

Web technologies Questions | PHP Quiz | Set-2 | Question 3

Which of the following method in PHP is used to get the current day and location?

(A)



date_sunrise()

(B)



sunrise()

(C)

date-sunrise()

(D)

None of the above

Answer: (A)
Explanation:

The date_sunrise() is an inbuilt function in PHP which is used to find the sunrise time for a specified day and location.

Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :