Use date_sunrise() to Get Sunrise Time

Use date_sunrise() to Get Sunrise Time

The date_sunrise() function returns the time of sunrise for a given day and location. This is useful for astronomical calculations.

← Back to Tips List