$ts = time();$z = 90.58333; //or $z = ini_get("date.sunrise_zenith");$lat = 37.979116;$lon = 23.717766;$time1 = date_sunrise($ts, SUNFUNCS_RET_STRING, $lat, $lon, $z, 3);$time2 = date_sunset($ts, SUNFUNCS_RET_STRING, $lat, $lon, $z, 3);