Re: [Rd] creating POSIXct dates in C

2005-02-18 Thread Prof Brian Ripley
I think this is actually about converting from POSIXlt to POSIXct in C. On Fri, 18 Feb 2005, Whit Armstrong wrote: I'm trying to generate POSIXct times in a call to a C function. Doesn't look like ISO C to me. Things are easier if you have ISO C99 functions, but R does not assume them (and virtua

[Rd] creating POSIXct dates in C

2005-02-18 Thread Whit Armstrong
I'm trying to generate POSIXct times in a call to a C function. However, I'm having trouble generating times with the proper offset from UTC. Can anyone offer any help with this issue? I've looked at R-2.0.1/src/main/datetime.c, but I was not able to find an example that I could easily pull from