Thank you Georg!
It definitely resolves the problem!
Adding the correct time zone (tz='GMT') returns a valid number as my
data are in solar time.
rob
[[alternative HTML version deleted]]
__
R-devel@r-project.org mailing list
https://stat.ethz.c
Dear developer list,
I want to submit the following problem that seems like a bug, as
confirmed by an other user [1], related to date-time parsing:
Here a simple script:
# that works:
as.numeric(as.POSIXlt(strptime('2016-03-27 01:05:50', format='%Y-%m-%d
%H:%M:%S')))
# that not (it returns NA):