Displaying 1 result from an estimated 1 matches for "day_frac".
2009 Jan 19
1
maptools, sunriset, POSIX timezones
....1
Thanks,
Phil Taylor
ptaylor at resalliance.org
> require(maptools)
> Sys.setenv(TZ = "GMT")
> location <- matrix(c(-80.1,42.5), nrow=1)
> sunriset(location, ISOdatetime(1970, 1, 1, 10, 0, 0, tz="GMT"),
direction="sunset", POSIXct.out=TRUE)
day_frac time
1 0.915226 1970-01-01 21:57:55
> sunriset(location, ISOdatetime(1970, 1, 1, 10, 0, 0),
direction="sunset", POSIXct.out=TRUE)
day_frac time
1 0.915226 1970-01-01 21:57:55
> sunriset(location, ISOdatetime(1970, 1, 1, 10, 0, 0, tz="GMT&qu...