Sample Page

The next sunrise will be in

Hours
Minutes
Seconds

Debug Data For Testing Below

array(15) {
  ["sunrise"]=>
  string(33) "The next sunrise will be tomorrow"
  ["latitide"]=>
  float(-28.64401)
  ["longitude"]=>
  float(153.61234)
  ["current_time"]=>
  string(19) "2022-12-06 06:57:13"
  ["current_timestamp"]=>
  int(1670273833)
  ["sunrise_today_timestamp"]=>
  int(1670269113)
  ["sunrise_today"]=>
  string(19) "2022-12-06 05:38:33"
  ["sunrise_tomorrow_timestamp"]=>
  int(1670355520)
  ["sunrise_tomorrow"]=>
  string(19) "2022-12-07 05:38:40"
  ["next_sunrise_timestamp"]=>
  int(1670355520)
  ["next_sunrise"]=>
  string(19) "2022-12-07 05:38:40"
  ["seconds_to_next_sunrise"]=>
  int(81687)
  ["minutes_to_next_sunrise"]=>
  float(1361.45)
  ["hours_to_next_sunrise"]=>
  float(22.690833333333334)
  ["offset"]=>
  int(1)
}

Minutes till byron bay sunrise offset = 0

1301.45

Minutes till byron bay sunrise offset = 1 hour

1361.45

Minutes till byron bay sunrise offset = -1 hour

1241.45