datastorm-open / suncalc

R package for calculating sun/moon positions and phases, linked to suncalc.js
Other
43 stars 10 forks source link

Can `getSunlightTime` be used for caculating future Sunlight time? #7

Closed karagawa closed 10 months ago

karagawa commented 5 years ago

Hello,

I am wondering if GetSunlightTimes can be used for calculating future time value? I find that, for example,

getSunlightTimes(date = as.Date('2020-01-01', lat = 40, lon = -90, tz = 'UTC') works and returns results.

But I am wondering if it is legit to do so with the command. Please let me know. Thanks.

Karagawa

bthieurmel commented 10 months ago

Yes of course.