clarissa1996
Technical User
Hi all,
I use the perl module Sunrise.pm. All works perfectly.
But I have a problem with a single date (this is very strange !!).
The following perl script:
($sunrise, $sunset) = sunrise(2005, 3, 20, -7.4, 46.9, 0, 0, -6);
... generate the following error:
Sun never sets!!
(Note: $sunrise and $sunset = 00:37)
Input parameters seems me correct.
Longitude and latitude are of the city of Bern (Switzerland).
I appreciate very much if someone can help me.
Best Regards.
Clarissa
I use the perl module Sunrise.pm. All works perfectly.
But I have a problem with a single date (this is very strange !!).
The following perl script:
($sunrise, $sunset) = sunrise(2005, 3, 20, -7.4, 46.9, 0, 0, -6);
... generate the following error:
Sun never sets!!
(Note: $sunrise and $sunset = 00:37)
Input parameters seems me correct.
Longitude and latitude are of the city of Bern (Switzerland).
I appreciate very much if someone can help me.
Best Regards.
Clarissa