@ 2014-11-12T22:03:51Z <?php
$sun_info = date_sun_info(strtotime("2006-12-12"), 31.7667, 35.2333);
foreach ($sun_info as $key => $val) {
echo "$key: " . date("H:i:s", $val) . "\n";
}
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 8.0.0 - 8.0.12 , 8.0.14 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.4 , 8.3.6 sunrise: 05:28:02
sunset: 15:37:19
transit: 10:32:41
civil_twilight_begin: 05:02:36
civil_twilight_end: 16:02:45
nautical_twilight_begin: 04:32:14
nautical_twilight_end: 16:33:08
astronomical_twilight_begin: 04:02:31
astronomical_twilight_end: 17:02:51
Output for 8.3.5 Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
sunrise: 05:28:02
sunset: 15:37:19
transit: 10:32:41
civil_twilight_begin: 05:02:36
civil_twilight_end: 16:02:45
nautical_twilight_begin: 04:32:14
nautical_twilight_end: 16:33:08
astronomical_twilight_begin: 04:02:31
astronomical_twilight_end: 17:02:51
Output for 8.0.13 sunrise: 04:28:02
sunset: 14:37:19
transit: 09:32:41
civil_twilight_begin: 04:02:36
civil_twilight_end: 15:02:45
nautical_twilight_begin: 03:32:14
nautical_twilight_end: 15:33:08
astronomical_twilight_begin: 03:02:31
astronomical_twilight_end: 16:02:51
Output for 7.2.0 - 7.2.33 , 7.3.0 - 7.3.31 , 7.4.0 - 7.4.33 sunrise: 05:29:21
sunset: 15:36:00
transit: 10:32:41
civil_twilight_begin: 05:02:36
civil_twilight_end: 16:02:45
nautical_twilight_begin: 04:32:14
nautical_twilight_end: 16:33:08
astronomical_twilight_begin: 04:02:31
astronomical_twilight_end: 17:02:51
Output for 7.3.32 - 7.3.33 sunrise: 04:29:21
sunset: 14:36:00
transit: 09:32:41
civil_twilight_begin: 04:02:36
civil_twilight_end: 15:02:45
nautical_twilight_begin: 03:32:14
nautical_twilight_end: 15:33:08
astronomical_twilight_begin: 03:02:31
astronomical_twilight_end: 16:02:51
Output for 5.2.2 - 5.2.17 , 5.3.0 - 5.3.29 , 5.4.0 - 5.4.45 , 5.5.0 - 5.5.38 , 5.6.0 - 5.6.38 , 7.0.0 - 7.0.33 , 7.1.0 - 7.1.33 sunrise: 05:29:40
sunset: 15:36:07
transit: 10:32:54
civil_twilight_begin: 05:02:55
civil_twilight_end: 16:02:53
nautical_twilight_begin: 04:32:31
nautical_twilight_end: 16:33:16
astronomical_twilight_begin: 04:02:48
astronomical_twilight_end: 17:02:59
Output for 5.1.3 - 5.1.6 , 5.2.0 - 5.2.1 sunrise: 05:52:11
sunset: 15:41:21
transit: 10:46:46
civil_twilight_begin: 05:24:08
civil_twilight_end: 16:09:24
nautical_twilight_begin: 04:52:25
nautical_twilight_end: 16:41:06
astronomical_twilight_begin: 04:21:32
astronomical_twilight_end: 17:12:00
Output for 5.0.0 - 5.0.5 , 5.1.0 - 5.1.2 Fatal error: Call to undefined function date_sun_info() in /in/JrFWj on line 2
Process exited with code 255 . Output for 4.4.5 - 4.4.9 Fatal error: Call to undefined function: date_sun_info() in /in/JrFWj on line 2
Process exited with code 255 . Output for 4.3.2 - 4.3.11 , 4.4.0 - 4.4.4 Fatal error: Call to undefined function: date_sun_info() in /in/JrFWj on line 2
Process exited with code 255 . Output for 4.3.0 - 4.3.1 Fatal error: Call to undefined function: date_sun_info() in /in/JrFWj on line 2
preferences:dark mode live preview
290.91 ms | 401 KiB | 450 Q