search for: now2

Displaying 3 results from an estimated 3 matches for "now2".

Did you mean: now
2010 Oct 28
1
Unexpected behabiour of min, tapply and POSIXct/POSIXlt classes?
Hello, I found rather surprising the behaviour of POSIXct and POSIXlt classes when combined with min and tapply. The details can be deduced from the script below: ############# Start of the script #################### before <- Sys.time() Sys.sleep( 1 ) now1 <- now2 <- Sys.time() my.times <- c( before, now1, now2 ) class( my.times ) ## [1] "POSIXct" "POSIXt" min( my.times ) ## [1] "2010-10-28 18:52:17 CEST" ### So far, so good... but: my.period <- c( "a", "b", "b" ) tapply( my.ti...
2003 Jul 31
4
timezones
I have some questions and comments on timezones. Problem 1. # get current time in current time zone > (now <- Sys.time()) [1] "2003-07-29 18:23:58 Eastern Daylight Time" # convert this to GMT > (now.gmt <- as.POSIXlt(now,tz="GMT")) [1] "2003-07-29 22:23:58 GMT" # take difference > now-now.gmt Time difference of -5 hours Note that the difference
2006 Sep 11
1
Bug#381481: aptitude: FTBFS: test failure
reassign 381481 aptitude thanks > On Fri, Aug 11, 2006 at 06:54:43AM -0700, Daniel Burrows wrote: > > > | ...................... > > > | rval == -1080447064 > > > | > > > | now2.tv_sec == 1155053066 > > > | now.tv_sec + 2 == 1155053066 > > > | now2.tv_usec == 882203 > > > | now.tv_usec == 887661 > > > | F............. > > > > Hm. I'm inclined to close this as a bug in xen -- > > pthread_cond_timedwai...