Open In App

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

Like Article
Like
Save
Share
Report

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


Last Updated : 20 Sep, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads