[R] System problem: Sys.time() returns GMT, says NZDT

Uwe Ligges ligges at statistik.tu-dortmund.de
Fri Nov 16 19:54:00 CET 2012



On 12.11.2012 22:35, Worik R wrote:
> When I say:
>
>> Sys.time()
> [1] "2012-11-12 21:30:14 NZDT"
>>
>
> But that is not what my clock on the wall and my system say.  Cannot show
> you my clock but...
>
> worik at lemy:/tmp$ date
> Tue Nov 13 10:32:20 NZDT 2012
>
>
> Sys.time() is returning GMT

Confusing:
Above you said Sys.time says ".... NZDT" and now it is "... GMT"?


> $version.string
> [1] "R version 2.14.1 (2011-12-22)"

Try to update anyway.


Uwe Ligges


>
>> Sys.timezone()
> [1] "NZDT"
>>
>
> I'm a little lost!
>
> Worik
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>




More information about the R-help mailing list